2000-03-16 Ulrich Drepper <drepper@redhat.com>
* condvar.c: Make tests for ownership of mutex less strict.
+2000-03-16 Ulrich Drepper <drepper@redhat.com>
+
+ * condvar.c: Make tests for ownership of mutex less strict.
+
2000-03-14 Ulrich Drepper <drepper@redhat.com>
* condvar.c (pthread_cond_wait): Check whether mutex is owned by
int already_canceled = 0;
/* Check whether the mutex is locked and owned by this thread. */
- if (mutex->__m_owner != self)
+ if (mutex->__m_kind != PTHREAD_MUTEX_FAST_NP && mutex->__m_owner != self)
return EINVAL;
/* Set up extrication interface */
pthread_extricate_if extr;
/* Check whether the mutex is locked and owned by this thread. */
- if (mutex->__m_owner != self)
+ if (mutex->__m_kind != PTHREAD_MUTEX_FAST_NP && mutex->__m_owner != self)
return EINVAL;
/* Set up extrication interface */