[Bug 234805] pthread_*_destroy doesn't handle locked objects consistently
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 8 21:07:40 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234805
--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:
Author: markj
Date: Fri Mar 8 21:07:09 UTC 2019
New revision: 344935
URL: https://svnweb.freebsd.org/changeset/base/344935
Log:
Have pthread_cond_destroy() return EBUSY if the condvar has waiters.
This is not required of a compliant implementation, but it's easy to
check for and helps improve compatibility with other common
implementations. Moreover, it's consistent with our
pthread_mutex_destroy().
PR: 234805
Reviewed by: jhb, kib, ngie
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D19496
Changes:
head/contrib/netbsd-tests/lib/libpthread/t_cond.c
head/lib/libthr/thread/thr_cond.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-threads
mailing list