~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

  • Committer: Brian Aker
  • Date: 2010-10-21 08:55:44 UTC
  • mto: (1866.1.1 merge)
  • mto: This revision was merged to the branch mainline in revision 1867.
  • Revision ID: brian@tangent.org-20101021085544-chpce06zm4tdaqdi
This creates a function for seeing which catalog you are in. It also
refactors some of the functions to be in the utility_function collect.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <boost/thread/mutex.hpp>
26
26
#include <boost/thread/shared_mutex.hpp>
27
27
#include <boost/thread/condition_variable.hpp>
28
 
#include <boost/shared_ptr.hpp>
29
28
 
30
29
namespace drizzled
31
30
{
32
31
 
 
32
extern boost::mutex LOCK_open;
33
33
extern boost::mutex LOCK_global_system_variables;
 
34
extern boost::mutex LOCK_thread_count;
34
35
 
35
36
typedef boost::unique_lock<boost::mutex>  boost_unique_lock_t;
36
37
 
37
 
typedef boost::shared_ptr<boost::thread> boost_thread_shared_ptr;
38
 
 
39
38
extern boost::condition_variable_any COND_refresh;
40
39
extern boost::condition_variable COND_thread_count;
41
40
extern boost::condition_variable COND_server_end;