diff options
author | msvensson@neptunus.(none) <> | 2005-04-27 13:29:37 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-04-27 13:29:37 +0200 |
commit | 565e660bd453c7d91b153384e80c40ddcc44a14e (patch) | |
tree | 81ccd0af6825dd1f4dd60d2cbe49fad7c95c488d /include | |
parent | 6b84489a018fc01fcdba002669b209101e987101 (diff) | |
download | mariadb-git-565e660bd453c7d91b153384e80c40ddcc44a14e.tar.gz |
Bug #9954 mysql-4.1.11/cmd-line-utils/libedit/makelist.sh is not portable
- Reverted removal of errorcheck mutex initialise, used in safe_mutex_init.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_pthread.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index b5b282238ba..fde62655c5f 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -612,6 +612,12 @@ extern pthread_mutexattr_t my_fast_mutexattr; #else #define MY_MUTEX_INIT_FAST NULL #endif +#ifdef PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP +extern pthread_mutexattr_t my_errorcheck_mutexattr; +#define MY_MUTEX_INIT_ERRCHK &my_errorcheck_mutexattr +#else +#define MY_MUTEX_INIT_ERRCHK NULL +#endif extern my_bool my_thread_global_init(void); extern void my_thread_global_end(void); |