diff options
author | unknown <serg@serg.mylan> | 2003-10-06 14:11:16 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-10-06 14:11:16 +0200 |
commit | 08a08a67dbde78258e46b0d9bcd387c8419b8fcd (patch) | |
tree | 7bffd47192fc8d22df42f124ba543de3125a5375 /include/thr_alarm.h | |
parent | 08504cfe276a2ff53ab34a13250220c28702e03c (diff) | |
download | mariadb-git-08a08a67dbde78258e46b0d9bcd387c8419b8fcd.tar.gz |
fix_max_connections to resize alarm_queue (Bug #1435)
include/queues.h:
resize_queue()
include/thr_alarm.h:
resize_thr_alarm() to resize alarm_queue
mysys/queues.c:
resize_queue()
mysys/thr_alarm.c:
resize_thr_alarm() to resize alarm_queue
Diffstat (limited to 'include/thr_alarm.h')
-rw-r--r-- | include/thr_alarm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/thr_alarm.h b/include/thr_alarm.h index 8ff4472f700..a54c192b1ed 100644 --- a/include/thr_alarm.h +++ b/include/thr_alarm.h @@ -100,6 +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); +void resize_thr_alarm(uint max_alarms); 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); |