~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/thread_var.h

  • Committer: Mark Atwood
  • Date: 2011-10-06 04:38:39 UTC
  • mfrom: (2426.3.1 drizzle-docs71)
  • Revision ID: me@mark.atwood.name-20111006043839-qrtu9wtrr04k7ie4
mergeĀ lp:~hingo/drizzle/drizzle-new-pandora-pluginini-keys

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#pragma once
19
19
 
20
20
#include <pthread.h>
 
21
#include <boost/thread/condition_variable.hpp>
 
22
#include <boost/thread/mutex.hpp>
21
23
#include <boost/thread/recursive_mutex.hpp>
22
 
#include <boost/thread/mutex.hpp>
23
24
#include <boost/thread/shared_mutex.hpp>
24
 
#include <boost/thread/condition_variable.hpp>
 
25
#include <boost/thread/thread.hpp>
 
26
#include <boost/thread/tss.hpp>
25
27
 
26
28
namespace drizzled {
27
29
namespace internal {
46
48
  }
47
49
};
48
50
 
49
 
st_my_thread_var* my_thread_var();
 
51
typedef boost::thread_specific_ptr<st_my_thread_var> thread_local_st;
 
52
 
 
53
thread_local_st& my_thread_var2();
50
54
 
51
55
} /* namespace internal */
52
56
} /* namespace drizzled */