~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/current_session.h

  • Committer: Brian Aker
  • Date: 2009-01-24 09:43:35 UTC
  • Revision ID: brian@gir-3.local-20090124094335-6qdtvc35gl5fvivz
Adding in an example singe thread scheduler

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
 
namespace drizzled
25
 
{
26
 
 
27
24
class Session;
28
25
 
29
 
namespace memory { class Root; }
30
 
 
31
26
Session *_current_session(void);
32
 
#define current_session ::drizzled::_current_session()
33
 
memory::Root *current_mem_root(void);
34
 
 
35
 
} /* namespace drizzled */
 
27
#define current_session _current_session()
 
28
MEM_ROOT *current_mem_root(void);
 
29
MEM_ROOT **current_mem_root_ptr(void);
36
30
 
37
31
#endif /* DRIZZLED_CURRENT_SESSION_H */