~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

  • Committer: Brian Aker
  • Date: 2010-09-09 21:45:53 UTC
  • mto: (1756.1.2 build) (1768.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1757.
  • Revision ID: brian@tangent.org-20100909214553-e687rmf5zk9478on
Force unique to just use memory and let the OS handle paging.

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;