~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/current_session.h

  • Committer: Monty Taylor
  • Date: 2010-05-15 18:23:34 UTC
  • mto: (1530.6.1)
  • mto: This revision was merged to the branch mainline in revision 1556.
  • Revision ID: mordred@inaugust.com-20100515182334-bgbmwij0mioklajx
Renamed classes that were in drizzled::plugin but which were not meant
for consumption by plugin authors to drizzled::module - since they
really have to do with plugin module loading. This way when we
look in drizzled/plugin, we see nothing but plugin interfaces. Win.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_CURRENT_SESSION_H
22
22
#define DRIZZLED_CURRENT_SESSION_H
23
23
 
24
 
#include <pthread.h>
25
 
#include <boost/thread/tss.hpp>
26
 
 
27
24
namespace drizzled
28
25
{
29
26
 
35
32
#define current_session ::drizzled::_current_session()
36
33
memory::Root *current_mem_root(void);
37
34
 
38
 
typedef boost::thread_specific_ptr<Session> MySessionVar;
39
 
typedef boost::thread_specific_ptr<memory::Root *> MyMemoryRootVar;
40
 
 
41
 
MySessionVar &currentSession(void);
42
 
MyMemoryRootVar &currentMemRoot(void);
43
 
 
44
35
} /* namespace drizzled */
45
36
 
46
37
#endif /* DRIZZLED_CURRENT_SESSION_H */