[Bug 234805] pthread_*_destroy doesn't handle locked objects consistently
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 11 15:53:41 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234805
--- Comment #2 from Mark Johnston <markj at FreeBSD.org> ---
(In reply to Konstantin Belousov from comment #1)
Sorry, can you explain why a new umtx op is needed? Can't the ucond's
c_has_waiters field be used to determine whether threads are blocked in the
kernel? Certainly this is racy if the thread calling pthread_cond_destroy()
does not hold the associated mutex, but I can't see the need for a new umtx op.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-threads
mailing list