diff options
author | greg@mysql.com <> | 2003-03-21 16:45:39 -0500 |
---|---|---|
committer | greg@mysql.com <> | 2003-03-21 16:45:39 -0500 |
commit | 67985efed5369bf88987781754931ee162e1d2f3 (patch) | |
tree | 6204247b50ae737bead82de5fdfbc3bdd63689b1 /mysys/my_pthread.c | |
parent | 61cb6925070ec80b4e7bb101c76b21ad11f10f11 (diff) | |
download | mariadb-git-67985efed5369bf88987781754931ee162e1d2f3.tar.gz |
Post-4.0.12 changes from Novell: mostly NetWare-related code changes to utilize new LibC
Diffstat (limited to 'mysys/my_pthread.c')
-rw-r--r-- | mysys/my_pthread.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c index 7ad4852558e..1eb15d92bc9 100644 --- a/mysys/my_pthread.c +++ b/mysys/my_pthread.c @@ -426,19 +426,6 @@ int my_pthread_cond_init(pthread_cond_t *mp, const pthread_condattr_t *attr) #endif -#ifdef __NETWARE__ -/* NetWare does not re-acquire the lock if the condition fails */ -int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, - struct timespec *abstime) -{ - int err= pthread_cond_timedwait(cond, mutex, abstime); - if (err) - pthread_mutex_lock(mutex); - return err; -} -#endif /* __NETWARE__ */ - - /***************************************************************************** Patches for HPUX We need these because the pthread_mutex.. code returns -1 on error, |