~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/single_thread/single_thread.cc

  • Committer: Brian Aker
  • Date: 2009-03-11 23:33:50 UTC
  • mfrom: (929.1.1 merge)
  • Revision ID: brian@tangent.org-20090311233350-orsrocjl7qi72203
Merging modification to Scheduler interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
  return true;                                     // Abort handle_one_connection
59
59
}
60
60
 
 
61
 
 
62
static uint32_t count_of_threads(void)
 
63
{
 
64
  return 0;
 
65
}
 
66
 
 
67
 
61
68
static int init(void *p)
62
69
{
63
70
  scheduling_st* func= (scheduling_st *)p;
66
73
  func->add_connection= add_connection;
67
74
  func->init_new_connection_thread= init_new_connection_thread;
68
75
  func->end_thread= end_thread;
 
76
  func->count= count_of_threads;
69
77
 
70
78
  return 0;
71
79
}