[Bug 219228] EINTR on thread with full signal mask.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 12 10:34:59 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219228
--- Comment #2 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Duane from comment #1)
I agree with your analysis. OTOH, I do not quite follow why the main thread
(what is this ? initial thread ? what if it terminated already ?) should
receive the wakeup if it also blocks the signal.
Suggestion to check the thread sigmask before calling tdsigwakeup() is IMO the
right thing.
Spurious EINTR were allowed by POSIX, e.g. fork() in other thread might cause
this (but not on FreeBSD).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list