1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Print error if we can't delete an alarm

More debugging variables
Increment aborted_threads in case of killed or too big packet
This commit is contained in:
monty@narttu.mysql.fi
2003-06-05 12:29:13 +03:00
parent 6876111f8f
commit 772adcbd99
5 changed files with 20 additions and 9 deletions

View File

@ -100,7 +100,7 @@ typedef struct st_alarm {
#define thr_alarm_init(A) (*(A))=0
#define thr_alarm_in_use(A) (*(A)!= 0)
void init_thr_alarm(uint max_alarm);
bool thr_alarm(thr_alarm_t *alarmed, uint sec, ALARM *buff);
my_bool thr_alarm(thr_alarm_t *alarmed, uint sec, ALARM *buff);
void thr_alarm_kill(pthread_t thread_id);
void thr_end_alarm(thr_alarm_t *alarmed);
void end_thr_alarm(my_bool free_structures);