[Bug 234805] pthread_*_destroy doesn't handle locked objects consistently
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234805 --- Comment #2 from Mark Johnston <[email protected]> --- (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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-threads To unsubscribe, send any mail to "[email protected]"