~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

  • Committer: Paul McCullagh
  • Date: 2010-09-22 13:04:27 UTC
  • mto: (1787.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1788.
  • Revision ID: paul.mccullagh@primebase.org-20100922130427-utakdj4ec4uiv1kc
Fixed PBXT recovery and shutdown, added shutdownPlugin() call to all plugins before the plugins are deleted

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <pthread.h>
24
24
#include <boost/thread/recursive_mutex.hpp>
25
25
#include <boost/thread/mutex.hpp>
26
 
#include <boost/thread/shared_mutex.hpp>
27
26
#include <boost/thread/condition_variable.hpp>
28
 
#include <boost/shared_ptr.hpp>
29
27
 
30
28
namespace drizzled
31
29
{
32
30
 
 
31
extern boost::mutex LOCK_open;
33
32
extern boost::mutex LOCK_global_system_variables;
34
 
 
35
 
typedef boost::unique_lock<boost::mutex>  boost_unique_lock_t;
36
 
 
37
 
typedef boost::shared_ptr<boost::thread> boost_thread_shared_ptr;
38
 
 
39
 
extern boost::condition_variable_any COND_refresh;
 
33
extern boost::mutex LOCK_thread_count;
 
34
 
 
35
extern boost::condition_variable COND_refresh;
40
36
extern boost::condition_variable COND_thread_count;
41
37
extern boost::condition_variable COND_server_end;
42
38
extern pthread_t signal_thread;