~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226031544-1cf3raipu53fnmyj
Through page.

Show diffs side-by-side

added added

removed removed

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