~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_lock.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
  struct st_lock_list write;
123
123
  /* write_lock_count is incremented for write locks and reset on read locks */
124
124
  uint32_t write_lock_count;
125
 
  uint read_no_write_count;
 
125
  uint32_t read_no_write_count;
126
126
  void (*get_status)(void*, int);       /* When one gets a lock */
127
127
  void (*copy_status)(void*,void*);
128
128
  void (*update_status)(void*);         /* Before release of write */
145
145
                                   enum thr_lock_type lock_type);
146
146
void thr_unlock(THR_LOCK_DATA *data);
147
147
enum enum_thr_lock_result thr_multi_lock(THR_LOCK_DATA **data,
148
 
                                         uint count, THR_LOCK_OWNER *owner);
149
 
void thr_multi_unlock(THR_LOCK_DATA **data,uint count);
 
148
                                         uint32_t count, THR_LOCK_OWNER *owner);
 
149
void thr_multi_unlock(THR_LOCK_DATA **data,uint32_t count);
150
150
void thr_abort_locks(THR_LOCK *lock, bool upgrade_lock);
151
151
bool thr_abort_locks_for_thread(THR_LOCK *lock, my_thread_id thread);
152
152
bool thr_upgrade_write_delay_lock(THR_LOCK_DATA *data);