~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_lock.h

  • Committer: Brian Aker
  • Date: 2009-10-12 06:15:02 UTC
  • mfrom: (1165.1.178 static-functions)
  • Revision ID: brian@gaz-20091012061502-cds4m0cya7ow8sj7
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
extern uint64_t max_write_lock_count;
33
33
extern uint64_t table_lock_wait_timeout;
34
34
extern bool thr_lock_inited;
35
 
extern enum thr_lock_type thr_upgraded_concurrent_insert_lock;
36
35
 
37
36
/*
38
37
  A description of the thread which owns the lock. The address
95
94
void thr_lock_delete(THR_LOCK *lock);
96
95
void thr_lock_data_init(THR_LOCK *lock,THR_LOCK_DATA *data,
97
96
                        void *status_param);
98
 
enum enum_thr_lock_result thr_lock(THR_LOCK_DATA *data,
99
 
                                   THR_LOCK_OWNER *owner,
100
 
                                   enum thr_lock_type lock_type);
101
 
void thr_unlock(THR_LOCK_DATA *data);
102
97
enum enum_thr_lock_result thr_multi_lock(THR_LOCK_DATA **data,
103
98
                                         uint32_t count, THR_LOCK_OWNER *owner);
104
99
void thr_multi_unlock(THR_LOCK_DATA **data,uint32_t count);