~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/thr_lock.h

  • Committer: Brian Aker
  • Date: 2010-11-29 07:05:33 UTC
  • mfrom: (1960.1.2 refactor)
  • Revision ID: brian@tangent.org-20101129070533-grqo3e8by2wqqpcd
Rollup of scoped lock.

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
  }
183
183
};
184
184
 
 
185
class Session; 
185
186
 
186
187
#define thr_lock_owner_init(owner, info_arg) (owner)->info= (info_arg)
187
188
void thr_lock_init(THR_LOCK *lock);
188
 
enum enum_thr_lock_result thr_multi_lock(THR_LOCK_DATA **data,
 
189
enum enum_thr_lock_result thr_multi_lock(Session &session, THR_LOCK_DATA **data,
189
190
                                         uint32_t count, THR_LOCK_OWNER *owner);
190
191
void thr_multi_unlock(THR_LOCK_DATA **data,uint32_t count);
191
192