~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_alarm.c

  • Committer: Monty Taylor
  • Date: 2008-10-03 20:08:06 UTC
  • Revision ID: monty@inaugust.com-20081003200806-ou5llu8nuyy2ofy3
Removed DONT_REMEMBER_SIGNAL define.

Show diffs side-by-side

added added

removed removed

Lines of Context:
287
287
#if defined(MAIN) && !defined(__bsdi__)
288
288
    printf("thread_alarm in process_alarm\n"); fflush(stdout);
289
289
#endif
290
 
#ifdef DONT_REMEMBER_SIGNAL
 
290
/* BS
 
291
#ifndef HAVE_BSD_SIGNALS
291
292
    my_sigset(thr_client_alarm, process_alarm); /* int. thread system calls */
292
293
#endif
293
294
    return;
299
300
#endif
300
301
  process_alarm_part2(sig);
301
302
#ifndef USE_ALARM_THREAD
302
 
#if defined(DONT_REMEMBER_SIGNAL) && !defined(USE_ONE_SIGNAL_HAND)
 
303
#if !defined(HAVE_BSD_SIGNALS) && !defined(USE_ONE_SIGNAL_HAND)
303
304
  my_sigset(THR_SERVER_ALARM,process_alarm);
304
305
#endif
305
306
  pthread_mutex_unlock(&LOCK_alarm);
494
495
#ifdef MAIN
495
496
  printf("thread_alarm\n"); fflush(stdout);
496
497
#endif
497
 
#ifdef DONT_REMEMBER_SIGNAL
 
498
#ifndef HAVE_BSD_SIGNALS
498
499
  my_sigset(sig,thread_alarm);          /* int. thread system calls */
499
500
#endif
500
501
}
677
678
{
678
679
  printf("Warning: Got signal %d from thread %s\n",sig,my_thread_name());
679
680
  fflush(stdout);
680
 
#ifdef DONT_REMEMBER_SIGNAL
 
681
#ifndef HAVE_BSD_SIGNALS
681
682
  my_sigset(sig,print_signal_warning);          /* int. thread system calls */
682
683
#endif
683
684
  if (sig == SIGALRM)