diff options
author | monty@tik.mysql.fi <> | 2002-04-16 16:29:14 +0300 |
---|---|---|
committer | monty@tik.mysql.fi <> | 2002-04-16 16:29:14 +0300 |
commit | c0d9954cc79c51702c582f17ea7891ea77e0ee3a (patch) | |
tree | 1ffc14ca2c35e314c452fe5d5169332a4e892d85 /include | |
parent | abb3e50199da0dbbd05dbca3037380c240a33187 (diff) | |
download | mariadb-git-c0d9954cc79c51702c582f17ea7891ea77e0ee3a.tar.gz |
Fixed pthread_cond_timedwait() for HPUX and DCE threads
Cleanup of LIBWRAP handling
Diffstat (limited to 'include')
-rw-r--r-- | include/my_pthread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index cd72bcced83..30e9ea95e02 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -349,6 +349,13 @@ extern void my_pthread_attr_setprio(pthread_attr_t *attr, int priority); #undef HAVE_GETHOSTBYADDR_R /* No definition */ #endif +#if defined(HAVE_DEC_THREADS) +extern int my_pthread_cond_timedwait(pthread_cond_t *cond, + pthread_mutex_t *mutex, + struct timespec *abstime); +#define pthread_cond_timedwait(A,B,C) my_pthread_cond_timedwait((A),(B),(C)) +#endif + #if defined(OS2) #define my_pthread_getspecific(T,A) ((T) &(A)) #define pthread_setspecific(A,B) win_pthread_setspecific(&(A),(B),sizeof(A)) |