~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/scheduler.h

  • Committer: Jay Pipes
  • Date: 2008-08-05 18:43:30 UTC
  • mto: (264.1.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 266.
  • Revision ID: jay@mysql.com-20080805184330-rooly59ksmwg0wnf
* Added include guards in a couple places, and removed unecessary
  conditional includes in older storage engine code
* Provided comments for included file in mysql_priv.h explaining 
  what each file brought into the include stream
* Added notes and TODOs where cleanup is still needed
* Removed unnecessary pragmas in similarly-named header/implementation
  files (C++ standard says they are unnecessary if implementation is 
  in a file named same as the header.

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 */