~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

Remove dead memset call.

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>
 
26
#include <boost/thread/condition_variable.hpp>
24
27
 
25
28
namespace drizzled
26
29
{
27
30
 
28
 
extern pthread_mutex_t LOCK_create_db;
29
 
extern pthread_mutex_t LOCK_open;
30
 
extern pthread_mutex_t LOCK_thread_count;
31
 
extern pthread_mutex_t LOCK_status;
32
 
extern pthread_mutex_t LOCK_global_read_lock;
33
 
extern pthread_mutex_t LOCK_global_system_variables;
 
31
extern boost::mutex LOCK_open;
 
32
extern boost::mutex LOCK_global_system_variables;
 
33
extern boost::mutex LOCK_thread_count;
34
34
 
35
 
extern pthread_rwlock_t LOCK_system_variables_hash;
36
 
extern pthread_cond_t COND_refresh;
37
 
extern pthread_cond_t COND_thread_count;
38
 
extern pthread_cond_t COND_global_read_lock;
39
 
extern pthread_attr_t connection_attrib;
 
35
extern boost::condition_variable COND_refresh;
 
36
extern boost::condition_variable COND_thread_count;
 
37
extern boost::condition_variable COND_server_end;
40
38
extern pthread_t signal_thread;
41
39
 
42
40
} /* namespace drizzled */