~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/multi_thread/multi_thread.h

  • Committer: Brian Aker
  • Date: 2010-11-19 20:09:58 UTC
  • mfrom: (1938.2.1 bug673579)
  • Revision ID: brian@tangent.org-20101119200958-anlloqi9va5gu4c7
Merge in Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2009 Sun Microsystems, Inc.
 
1
/* Copyright (C) 2009 Sun Microsystems
2
2
 
3
3
  This program is free software; you can redistribute it and/or modify
4
4
  it under the terms of the GNU General Public License as published by
28
28
class Session;
29
29
}
30
30
 
31
 
namespace multi_thread {
32
 
 
33
31
class MultiThreadScheduler: public drizzled::plugin::Scheduler
34
32
{
35
33
private:
46
44
  ~MultiThreadScheduler();
47
45
  bool addSession(drizzled::Session::shared_ptr &session);
48
46
  void killSessionNow(drizzled::Session::shared_ptr &session);
49
 
  void killSession(drizzled::Session*);
50
47
  
51
48
  void runSession(drizzled::session_id_t);
52
49
private:
53
50
  void setStackSize();
54
51
};
55
52
 
56
 
} // namespace multi_thread
57
 
 
58
53
#endif /* PLUGIN_MULTI_THREAD_MULTI_THREAD_H */