~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/thr_lock.h

Merging trunk changes from over weekend.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
struct st_thr_lock;
28
28
extern ulong locks_immediate,locks_waited ;
 
29
extern pthread_mutex_t THR_LOCK_lock;
29
30
 
30
31
enum thr_lock_type { TL_IGNORE=-1,
31
32
                     TL_UNLOCK,                 /* UNLOCK ANY LOCK */
132
133
 
133
134
 
134
135
extern LIST *thr_lock_thread_list;
135
 
extern pthread_mutex_t THR_LOCK_lock;
136
136
 
137
137
my_bool init_thr_lock(void);            /* Must be called once/thread */
138
138
#define thr_lock_owner_init(owner, info_arg) (owner)->info= (info_arg)