summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-10-15 16:23:01 +0300
committerunknown <monty@mashka.mysql.fi>2003-10-15 16:23:01 +0300
commit60fb31ddec27323101ad491bf324da5df2b04ab6 (patch)
tree38e01149b27f4d0b0b29f436336f67902beb68fa /include
parent4f5887b22d5d900a0e6166ff26f50d8c09e969f9 (diff)
parentcad75f4a429830e1dd9713a16bd13ace17623dc4 (diff)
downloadmariadb-git-60fb31ddec27323101ad491bf324da5df2b04ab6.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mashka.mysql.fi:/home/my/mysql-4.0 sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_parse.cc: Auto merged
Diffstat (limited to 'include')
-rw-r--r--include/queues.h1
-rw-r--r--include/thr_alarm.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/queues.h b/include/queues.h
index 699705d0869..ac15b09719b 100644
--- a/include/queues.h
+++ b/include/queues.h
@@ -49,6 +49,7 @@ int init_queue(QUEUE *queue,uint max_elements,uint offset_to_key,
int reinit_queue(QUEUE *queue,uint max_elements,uint offset_to_key,
pbool max_at_top, queue_compare compare,
void *first_cmp_arg);
+int resize_queue(QUEUE *queue, uint max_elements);
void delete_queue(QUEUE *queue);
void queue_insert(QUEUE *queue,byte *element);
byte *queue_remove(QUEUE *queue,uint idx);
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);