Date: Fri, 12 May 2017 10:34:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 219228] EINTR on thread with full signal mask. Message-ID: <bug-219228-8-OBrqWPA9W2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-219228-8@https.bugs.freebsd.org/bugzilla/> References: <bug-219228-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219228 --- Comment #2 from Konstantin Belousov <kib@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 cau= se this (but not on FreeBSD). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219228-8-OBrqWPA9W2>