~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/scheduler.h

  • Committer: Brian Aker
  • Date: 2008-08-07 16:29:49 UTC
  • mfrom: (264.1.20 codestyle)
  • Revision ID: brian@tangent.org-20080807162949-7o8eyjgdn8ms3n1a
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
 
16
#ifndef DRIZZLE_SERVER_SCHEDULER_H
 
17
#define DRIZZLE_SERVER_SCHEDULER_H
 
18
 
16
19
/*
17
20
  Classes for the thread scheduler
18
21
*/
19
22
 
20
 
#ifdef USE_PRAGMA_INTERFACE
21
 
#pragma interface
22
 
#endif
23
 
 
 
23
/* Forward declarations */
24
24
class THD;
 
25
struct event;
25
26
 
26
27
/* Functions used when manipulating threads */
27
28
 
50
51
 
51
52
#define HAVE_POOL_OF_THREADS 1
52
53
 
53
 
struct event;
54
 
 
55
54
class thd_scheduler
56
55
{
57
56
public:
71
70
};
72
71
 
73
72
void pool_of_threads_scheduler(scheduler_functions* func);
 
73
 
 
74
#endif /* DRIZZLE_SERVER_SCHEDULER_H */