~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_alarm.h

  • Committer: Monty Taylor
  • Date: 2008-12-01 17:53:42 UTC
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: monty@bitters-20081201175342-hcvfaecqmljhv86g
Fixed Sun Studio warnings in mysys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#ifndef _thr_alarm_h
19
19
#define _thr_alarm_h
 
20
 
 
21
#include <signal.h>
 
22
 
20
23
#ifdef  __cplusplus
21
24
extern "C" {
22
25
#endif
78
81
extern uint32_t thr_client_alarm;
79
82
extern pthread_t alarm_thread;
80
83
 
 
84
int compare_uint32_t(void *unused, unsigned char *a_ptr,unsigned char* b_ptr);
 
85
RETSIGTYPE thread_alarm(int sig);
 
86
 
81
87
#define thr_alarm_init(A) (*(A))=0
82
88
#define thr_alarm_in_use(A) (*(A)!= 0)
83
89
void init_thr_alarm(uint32_t max_alarm);