~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

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 */