summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorunknown <istruewing@chilla.local>2007-01-29 18:47:46 +0100
committerunknown <istruewing@chilla.local>2007-01-29 18:47:46 +0100
commit1042a25a7fe0ecb94af989524796b4619ba31751 (patch)
treed5baa9f433ccab67349d65f3e71a37dfb9ef45b2 /include/my_pthread.h
parent92a7c1ed9c6dec1fee17a830fdabe9272d6692bd (diff)
parentd308799383bdbcaad568c9844b34708462dd74e7 (diff)
downloadmariadb-git-1042a25a7fe0ecb94af989524796b4619ba31751.tar.gz
Merge chilla.local:/home/mydev/mysql-4.1-axmrg
into chilla.local:/home/mydev/mysql-5.0-axmrg BUILD/SETUP.sh: Auto merged configure.in: Auto merged include/my_global.h: Auto merged include/thr_alarm.h: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/symlink.result: Auto merged mysql-test/t/myisam.test: Auto merged mysql-test/t/symlink.test: Auto merged mysys/my_pthread.c: Auto merged sql/item_func.cc: Auto merged include/my_pthread.h: Manual merged mysql-test/r/myisam.result: Manual merged mysys/thr_alarm.c: Manual merged sql/ha_ndbcluster.cc: Manual merged sql/mysqld.cc: Manual merged
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 52e900b5803..cf6ae8cd6a1 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -30,6 +30,14 @@ extern "C" {
#define EXTERNC
#endif /* __cplusplus */
+/* Thread library */
+
+#define THD_LIB_OTHER 1
+#define THD_LIB_NPTL 2
+#define THD_LIB_LT 4
+
+extern uint thd_lib_detected;
+
/*
BUG#24507: Race conditions inside current NPTL pthread_exit() implementation.
@@ -49,7 +57,6 @@ extern "C" {
#define NPTL_PTHREAD_EXIT_BUG 1
#endif
-
#if defined(__WIN__) || defined(OS2)
#ifdef OS2