cvs commit: src/sys/kern kern_thread.c
Julian Elischer
julian at FreeBSD.org
Thu Sep 2 22:58:21 PDT 2004
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 at 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
More information about the cvs-src
mailing list