79
82
extern pthread_t alarm_thread;
81
87
#define thr_alarm_init(A) (*(A))=0
82
88
#define thr_alarm_in_use(A) (*(A)!= 0)
86
92
void thr_alarm_kill(my_thread_id thread_id);
87
93
void thr_end_alarm(thr_alarm_t *alarmed);
88
94
void end_thr_alarm(bool free_structures);
91
97
bool thr_got_alarm(thr_alarm_t *alrm);