cvs commit: src/sys/kern kern_thread.c

David Xu davidxu at FreeBSD.org
Sun Aug 29 16:10:02 PDT 2004


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 at cmbi.kun.nl>
  
  Revision  Changes    Path
  1.195     +1 -1      src/sys/kern/kern_thread.c


More information about the cvs-src mailing list