~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/scheduler.h

  • Committer: Brian Aker
  • Date: 2009-01-24 08:35:23 UTC
  • Revision ID: brian@gir-3.local-20090124083523-chsxys2gr79uw47a
Refactor init/deinit into the normal startup structures for a plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
{
37
37
public:
38
38
  uint32_t max_threads;
39
 
  bool (*init)(void);
40
39
  bool (*init_new_connection_thread)(void);
41
40
  void (*add_connection)(Session *session);
42
41
  void (*post_kill_notification)(Session *session);
43
42
  bool (*end_thread)(Session *session, bool cache_thread);
44
 
  void (*end)(void);
45
43
  scheduler_functions();
46
44
};
47
45