[Bug 209233] [patch] pthread_suspend_all_np races with check_suspend
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209233 --- Comment #6 from Konstantin Belousov <[email protected]> --- (In reply to Lawrence Esswood from comment #5) Yes, it is a bug that I left the old test in the loop condition. I left only the check for THR_FLAGS_NEED_SUSPEND there, since it is cleared only on resume. WRT SIGCANCEL generated after loop exit and before thr_signal_unblock. The blocked signal list includes SIGCANCEL, thus the SIGCANCEL signal should be only delivered after unblock. Then typically we would re-enter _thr_ast() with the different set of flags. -- 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]"