~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/pthread_globals.h

  • Committer: Andrew Hutchings
  • Date: 2011-01-28 21:33:48 UTC
  • mto: (2126.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2127.
  • Revision ID: andrew@linuxjedi.co.uk-20110128213348-ypi381xo47o80ypo
Backport fix for http://bugs.mysql.com/bug.php?id=57034

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>
24
25
#include <boost/thread/mutex.hpp>
25
26
#include <boost/thread/shared_mutex.hpp>
26
27
#include <boost/thread/condition_variable.hpp>
27
28
#include <boost/shared_ptr.hpp>
28
29
 
29
 
#include <drizzled/visibility.h>
30
 
 
31
30
namespace drizzled
32
31
{
33
32
 
36
35
typedef boost::shared_ptr<boost::thread> boost_thread_shared_ptr;
37
36
 
38
37
extern boost::condition_variable_any COND_refresh;
39
 
extern DRIZZLED_API boost::condition_variable COND_thread_count;
 
38
extern boost::condition_variable COND_thread_count;
40
39
extern pthread_t signal_thread;
41
40
 
42
41
} /* namespace drizzled */