~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/thr_lock.h

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <drizzled/visibility.h>
25
25
 
26
 
namespace drizzled
27
 
{
 
26
namespace drizzled {
28
27
 
29
28
extern uint64_t max_write_lock_count;
30
29
extern uint64_t table_lock_wait_timeout;
153
152
    read_no_write_count(0)
154
153
  { }
155
154
 
156
 
  ~THR_LOCK()
157
 
  { }
158
 
 
159
155
  void abort_locks();
160
156
  bool abort_locks_for_thread(uint64_t thread);
161
157
 
169
165
    mutex.unlock();
170
166
  }
171
167
 
172
 
  void init()
173
 
  {
174
 
  }
175
 
 
176
 
  void deinit()
177
 
  {
178
 
  }
179
 
 
180
168
  boost::mutex *native_handle()
181
169
  {
182
170
    return &mutex;