~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_mutex.c

  • 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:
41
41
#endif /* DO_NOT_REMOVE_THREAD_WRAPPERS */
42
42
 
43
43
static pthread_mutex_t THR_LOCK_mutex;
44
 
static ulong safe_mutex_count= 0;               /* Number of mutexes created */
 
44
static uint32_t safe_mutex_count= 0;            /* Number of mutexes created */
45
45
#ifdef SAFE_MUTEX_DETECT_DESTROY
46
46
static struct st_safe_mutex_info_t *safe_mutex_root= NULL;
47
47
#endif
402
402
#undef pthread_cond_wait
403
403
#undef pthread_cond_timedwait
404
404
 
405
 
ulong mutex_delay(ulong delayloops)
 
405
uint32_t mutex_delay(uint32_t delayloops)
406
406
{
407
 
  ulong i;
408
 
  volatile ulong j;
 
407
  uint32_t      i;
 
408
  volatile uint32_t j;
409
409
 
410
410
  j = 0;
411
411