~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/scheduler.h

  • Committer: Lee
  • Date: 2008-10-03 23:31:06 UTC
  • mfrom: (413.2.3 drizzle)
  • mto: This revision was merged to the branch mainline in revision 459.
  • Revision ID: lbieber@lbieber-desktop-20081003233106-tgvzu0fh25gb3xeg
breaking out enum field classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
class scheduler_functions
34
34
{
35
35
public:
36
 
  uint32_t max_threads;
 
36
  uint max_threads;
37
37
  bool (*init)(void);
38
38
  bool (*init_new_connection_thread)(void);
39
39
  void (*add_connection)(THD *thd);
62
62
  struct event* io_event;
63
63
  LIST list;
64
64
  bool thread_attached;  /* Indicates if THD is attached to the OS thread */
65
 
 
 
65
  
66
66
  char dbug_explain_buf[256];
67
67
  void swap_dbug_explain();
68
68
 
69
69
  thd_scheduler();
70
70
  ~thd_scheduler();
71
 
  thd_scheduler(const thd_scheduler&);
72
 
  void operator=(const thd_scheduler&);
73
71
  bool init(THD* parent_thd);
74
72
  bool thread_attach();
75
73
  void thread_detach();