Date: Sun, 29 Aug 2004 23:10:02 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_thread.c Message-ID: <200408292310.i7TNA2o4075828@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2004-08-29 23:10:02 UTC
FreeBSD src repository
Modified files:
sys/kern kern_thread.c
Log:
Only test return_instead if P_SINGLE_EXIT is set, otherwise a fork()
syscall can interrupt other thread's syscall in sleepq_catch_signals().
Current, all callers know thread_suspend_check may suspend thread
itself, so we need't to check return_instead for normal suspension
flags (no P_SINGLE_EXIT set).
Tested by: deischen
Reported by: Maarten L. Hekkelman <m.hekkelman@cmbi.kun.nl>
Revision Changes Path
1.195 +1 -1 src/sys/kern/kern_thread.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408292310.i7TNA2o4075828>
