[Bug 209233] [patch] pthread_suspend_all_np races with check_suspend
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 4 12:12:04 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209233
--- Comment #2 from Lawrence Esswood <le277 at cam.ac.uk> ---
(In reply to Konstantin Belousov from comment #1)
This would end up doing the same thing in the suspend logic as always setting
the NEED_SUSPEND flag, as the !(thread->flags & THR_FLAGS_SUSPENDED) check
would always be true if THR_FLAGS_NEED_SUSPEND was clear and if we insisted
that !THR_FLAGS_NEED_SUSPEND => !THR_FLAGS_SUSPENDED after a resume. The only
(observable) difference would be extra blocking in resume which we probabably
want to avoid.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-threads
mailing list