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