summaryrefslogtreecommitdiff
path: root/include/thr_alarm.h
diff options
context:
space:
mode:
authorjani@ua141d10.elisa.omakaista.fi <>2007-01-25 20:10:31 +0200
committerjani@ua141d10.elisa.omakaista.fi <>2007-01-25 20:10:31 +0200
commit0b4ee9e5b8cee5af84295d76345d917788ebe294 (patch)
treecb5306aa3b4e8ff2601826fc23c817fbc370292b /include/thr_alarm.h
parentff58749b290dc8f5f8e78ce7b5a73d7efecc610a (diff)
downloadmariadb-git-0b4ee9e5b8cee5af84295d76345d917788ebe294.tar.gz
Cleanup of thread-type (linuxthread or NTPL) detection code
Move get_thread_lib to mysys/my_pthread.c Set 'thr_client_alarm' to signal number used by thr_alarm to give alarms
Diffstat (limited to 'include/thr_alarm.h')
-rw-r--r--include/thr_alarm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/thr_alarm.h b/include/thr_alarm.h
index 0c26a67acf4..ef6aaf49f77 100644
--- a/include/thr_alarm.h
+++ b/include/thr_alarm.h
@@ -93,6 +93,8 @@ typedef struct st_alarm {
my_bool malloced;
} ALARM;
+extern uint thr_client_alarm;
+
#define thr_alarm_init(A) (*(A))=0
#define thr_alarm_in_use(A) (*(A)!= 0)
void init_thr_alarm(uint max_alarm);