~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

Convert LOCK_global_system_variables to boost.

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>
 
25
#include <boost/thread/mutex.hpp>
24
26
 
25
27
namespace drizzled
26
28
{
29
31
extern pthread_mutex_t LOCK_thread_count;
30
32
extern pthread_mutex_t LOCK_status;
31
33
extern pthread_mutex_t LOCK_global_read_lock;
32
 
extern pthread_mutex_t LOCK_global_system_variables;
 
34
extern boost::recursive_mutex LOCK_global_system_variables;
33
35
 
34
36
extern pthread_cond_t COND_refresh;
35
37
extern pthread_cond_t COND_thread_count;