Date: Wed, 04 May 2016 12:12:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-threads@FreeBSD.org Subject: [Bug 209233] [patch] pthread_suspend_all_np races with check_suspend Message-ID: <bug-209233-16-1hGCyd2Ykt@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209233-16@https.bugs.freebsd.org/bugzilla/> References: <bug-209233-16@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=3D209233 --- Comment #2 from Lawrence Esswood <le277@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 setti= ng 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 =3D> !THR_FLAGS_SUSPENDED after a resume. The = only (observable) difference would be extra blocking in resume which we probabab= ly want to avoid. --=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-209233-16-1hGCyd2Ykt>