~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

  • Committer: Monty Taylor
  • Date: 2010-11-08 18:26:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1931.
  • Revision ID: mordred@inaugust.com-20101108182608-lci86acl7r53sbi3
Replaced auto_ptr with scoped_ptr.

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;