~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_thr_init.c

  • Committer: Brian Aker
  • Date: 2008-07-13 18:27:33 UTC
  • Revision ID: brian@tangent.org-20080713182733-3u1et5nrmofi8a8n
my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    1  error (Couldn't create THR_KEY_mysys)
80
80
*/
81
81
 
82
 
my_bool my_thread_global_init(void)
 
82
bool my_thread_global_init(void)
83
83
{
84
84
  int pth_ret;
85
85
  thd_lib_detected= get_thread_lib();
168
168
void my_thread_global_end(void)
169
169
{
170
170
  struct timespec abstime;
171
 
  my_bool all_threads_killed= 1;
 
171
  bool all_threads_killed= 1;
172
172
 
173
173
  set_timespec(abstime, my_thread_end_wait_time);
174
174
  pthread_mutex_lock(&THR_LOCK_threads);
246
246
    1  Fatal error; mysys/dbug functions can't be used
247
247
*/
248
248
 
249
 
my_bool my_thread_init(void)
 
249
bool my_thread_init(void)
250
250
{
251
251
  struct st_my_thread_var *tmp;
252
 
  my_bool error=0;
 
252
  bool error=0;
253
253
 
254
254
#ifdef EXTRA_DEBUG_THREADS
255
255
  fprintf(stderr,"my_thread_init(): thread_id: 0x%lx\n",