Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2005 08:07:28 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys proc.h src/sys/kern kern_exit.c
Message-ID:  <200504190807.j3J87T3L072058@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2005-04-19 08:07:28 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              proc.h 
    sys/kern             kern_exit.c 
  Log:
  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.259     +5 -1      src/sys/kern/kern_exit.c
  1.427     +1 -0      src/sys/sys/proc.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504190807.j3J87T3L072058>