summaryrefslogtreecommitdiff
path: root/include/thr_alarm.h
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-06-05 12:29:13 +0300
committermonty@narttu.mysql.fi <>2003-06-05 12:29:13 +0300
commit772adcbd992108af5d7d74c5448cc16697183e8a (patch)
treed938b5da0ff603d0b355b772263eee8066fd8cbe /include/thr_alarm.h
parent6876111f8f9e6430d3dbb19150bbe9aadb0fba3b (diff)
downloadmariadb-git-772adcbd992108af5d7d74c5448cc16697183e8a.tar.gz
Print error if we can't delete an alarm
More debugging variables Increment aborted_threads in case of killed or too big packet
Diffstat (limited to 'include/thr_alarm.h')
-rw-r--r--include/thr_alarm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thr_alarm.h b/include/thr_alarm.h
index 439f046252f..8ff4472f700 100644
--- a/include/thr_alarm.h
+++ b/include/thr_alarm.h
@@ -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);