Date: Fri, 3 Sep 2004 05:58:20 +0000 (UTC) From: Julian Elischer <julian@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: <200409030558.i835wK2B017692@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
julian 2004-09-03 05:58:20 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/kern kern_thread.c
Log:
MFC:
> 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
Approved by: re (scottl)
Revision Changes Path
1.193.2.1 +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?200409030558.i835wK2B017692>
