mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Post-4.0.12 changes from Novell: mostly NetWare-related code changes to utilize new LibC
This commit is contained in:
parent
61cb692507
commit
67985efed5
9 changed files with 61 additions and 104 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue