~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_lock.h

  • Committer: Brian Aker
  • Date: 2008-08-10 22:14:13 UTC
  • Revision ID: brian@tangent.org-20080810221413-ablfnyr3wgu6fjaw
ulong conversion. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <mysys/my_list.h>
26
26
 
27
27
struct st_thr_lock;
28
 
extern ulong locks_immediate,locks_waited ;
 
28
extern uint32_t locks_immediate,locks_waited ;
29
29
extern pthread_mutex_t THR_LOCK_lock;
30
30
 
31
31
enum thr_lock_type { TL_IGNORE=-1,
85
85
{
86
86
  pthread_t thread;
87
87
  my_thread_id thread_id;
88
 
  ulong n_cursors;
 
88
  uint32_t n_cursors;
89
89
} THR_LOCK_INFO;
90
90
 
91
91
/*
121
121
  struct st_lock_list write_wait;
122
122
  struct st_lock_list write;
123
123
  /* write_lock_count is incremented for write locks and reset on read locks */
124
 
  ulong write_lock_count;
 
124
  uint32_t write_lock_count;
125
125
  uint read_no_write_count;
126
126
  void (*get_status)(void*, int);       /* When one gets a lock */
127
127
  void (*copy_status)(void*,void*);