cvs commit: src/sys/kern kern_sig.c

David Xu davidxu at FreeBSD.org
Tue Apr 19 01:11:29 PDT 2005


davidxu     2005-04-19 08:11:28 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_sig.c 
  Log:
  Oops, forgot to update this file.
  Fix a race condition between kern_wait() and thread_stopped().
  Problem is in kern_wait(), parent process steps through children list,
  once a child process is skipped, and later even if the child is stopped,
  parent process still sleeps in msleep(), the race happens if parent
  masked SIGCHLD.
  
  Submitted by : Peter Edwards peadar.edwards at gmail dot com
  MFC after    : 4 days
  
  Revision  Changes    Path
  1.305     +9 -17     src/sys/kern/kern_sig.c


More information about the cvs-all mailing list