~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_thr_init.cc

  • 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:
43
43
pthread_mutex_t THR_LOCK_threads;
44
44
pthread_cond_t  THR_COND_threads;
45
45
uint32_t            THR_thread_count= 0;
46
 
uint32_t                my_thread_end_wait_time= 5;
 
46
static uint32_t my_thread_end_wait_time= 5;
47
47
#ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP
48
48
pthread_mutexattr_t my_fast_mutexattr;
49
49
#endif
257
257
  return tmp;
258
258
}
259
259
 
260
 
 
261
 
/****************************************************************************
262
 
  Get name of current thread.
263
 
****************************************************************************/
264
 
 
265
 
my_thread_id my_thread_dbug_id()
266
 
{
267
 
  return my_thread_var->id;
268
 
}
269
 
 
270
260
static uint32_t get_thread_lib(void)
271
261
{
272
262
#ifdef _CS_GNU_LIBPTHREAD_VERSION