1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00
Don't use DBUG library for struct st_my_thread_var to make code less complicated.
This commit is contained in:
monty@hundin.mysql.fi
2002-04-02 17:54:57 +03:00
parent 591bda6748
commit d80ebc17d6
14 changed files with 74 additions and 78 deletions

View File

@ -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 */