diff options
author | serg@janus.mylan <> | 2007-03-28 15:33:29 +0200 |
---|---|---|
committer | serg@janus.mylan <> | 2007-03-28 15:33:29 +0200 |
commit | e5b660487bf584504fab2e6a0e114a3919fe34a0 (patch) | |
tree | 7792d65ad629928aed16128c025294a9afd94492 /include/my_pthread.h | |
parent | 336f03d1510058528fcc206bd78fa7b2333fb957 (diff) | |
download | mariadb-git-e5b660487bf584504fab2e6a0e114a3919fe34a0.tar.gz |
restored run-time thread lib detection
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r-- | include/my_pthread.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index 4df105e1b20..340dc32981a 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -701,6 +701,15 @@ extern uint my_thread_end_wait_time; Keep track of shutdown,signal, and main threads so that my_end() will not report errors with them */ + +/* Which kind of thread library is in use */ + +#define THD_LIB_OTHER 1 +#define THD_LIB_NPTL 2 +#define THD_LIB_LT 4 + +extern uint thd_lib_detected; + /* statistics_xxx functions are for not essential statistic */ #ifndef thread_safe_increment |