summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-04-02 17:54:57 +0300
committermonty@hundin.mysql.fi <>2002-04-02 17:54:57 +0300
commitd80ebc17d6e89cac37bedb198b073dddade9c61b (patch)
tree0918e7f417ac64ab19af6ea441c12c97e897c1b9 /include/my_pthread.h
parent591bda67487d0215f4fd486dcca8ea703c626048 (diff)
downloadmariadb-git-d80ebc17d6e89cac37bedb198b073dddade9c61b.tar.gz
Cleanups
Don't use DBUG library for struct st_my_thread_var to make code less complicated.
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 4ca42339897..cfc1ea326f4 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -602,6 +602,11 @@ struct st_my_thread_var
extern struct st_my_thread_var *_my_thread_var(void) __attribute__ ((const));
#define my_thread_var (_my_thread_var())
#define my_errno my_thread_var->thr_errno
+/*
+ Keep track of shutdown,signal, and main threads so that my_end() will not
+ report errors with them
+*/
+extern pthread_t shutdown_th, main_th, signal_th;
/* statistics_xxx functions are for not essential statistic */