~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_alarm.cc

  • Committer: Monty Taylor
  • Date: 2009-01-09 19:40:29 UTC
  • mto: (779.1.4 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: mordred@inaugust.com-20090109194029-vcic3m30e4uj0smj
General build cleanup - removed cruft, removed depreated checks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
bool thr_alarm_inited= 0;
52
52
volatile bool alarm_thread_running= 0;
53
53
time_t next_alarm_expire_time= ~ (time_t) 0;
54
 
static RETSIGTYPE process_alarm_part2(int sig);
 
54
static void process_alarm_part2(int sig);
55
55
 
56
56
static pthread_mutex_t LOCK_alarm;
57
57
static pthread_cond_t COND_alarm;
294
294
  every second.
295
295
*/
296
296
 
297
 
RETSIGTYPE process_alarm(int sig __attribute__((unused)))
 
297
void process_alarm(int sig __attribute__((unused)))
298
298
{
299
299
  sigset_t old_mask;
300
300
 
323
323
}
324
324
 
325
325
 
326
 
static RETSIGTYPE process_alarm_part2(int)
 
326
static void process_alarm_part2(int)
327
327
{
328
328
  ALARM *alarm_data;
329
329
 
494
494
*/
495
495
 
496
496
 
497
 
RETSIGTYPE thread_alarm(int sig)
 
497
void thread_alarm(int sig)
498
498
{
499
499
#ifndef HAVE_BSD_SIGNALS
500
500
  my_sigset(sig,thread_alarm);          /* int. thread system calls */