https://bugzilla.novell.com/show_bug.cgi?id=865968
https://bugzilla.novell.com/show_bug.cgi?id=865968#c23
Jim Mattson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|jmattson@vmware.com |
--- Comment #23 from Jim Mattson 2014-03-05 13:01:57 UTC ---
pthread_mutex_destroy does not seem to think this is okay:
int
__pthread_mutex_destroy (mutex)
pthread_mutex_t *mutex;
{
LIBC_PROBE (mutex_destroy, 1, mutex);
if ((mutex->__data.__kind & PTHREAD_MUTEX_ROBUST_NORMAL_NP) == 0
&& mutex->__data.__nusers != 0)
return EBUSY;
/* Set to an invalid value. */
mutex->__data.__kind = -1;
return 0;
}
After successfully using pthread_mutex_trylock to lock the mutex and
subsequently using pthread_mutex_unlock to unlock the mutex,
pthread_mutex_destroy fails with EBUSY.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.