David Xu 45a4bfa17d 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>
2004-08-29 23:10:02 +00:00
..
2004-06-17 17:16:53 +00:00
2004-07-10 21:36:01 +00:00
2004-07-28 06:42:41 +00:00
2004-08-14 08:33:49 +00:00
2004-06-21 22:34:57 +00:00
2004-08-19 19:51:51 +00:00
2004-07-10 21:43:23 +00:00
2004-08-19 20:16:09 +00:00
2004-08-28 00:49:55 +00:00
2004-07-13 19:36:59 +00:00
2004-05-30 20:34:58 +00:00
2004-05-30 20:34:58 +00:00
2004-07-28 06:42:41 +00:00
2004-06-17 17:16:53 +00:00
2004-05-30 20:34:58 +00:00