cvs commit: src/sys/kern kern_exit.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 28 11:17:22 PST 2005


dillon      2005/12/28 11:13:34 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_exit.c 
  Log:
  Make wait*() behave the same as it did before we moved TSTOP handling
  out of tsleep().  The behavior was that if both parent and child are
  stopped together (aka via ^Z), and then resumed together, and the parent
  is doing a WUNTRACED wait*() on the child, the parent will only see the
  resume.  Without this little hack the parent will see both the STOP (after
  the child has resumed since the parent was stopped too!), and then the
  CONT.
  
  It is unclear whether this is mandated by standards or not, but for now
  we are going to maintain backwards compatibility.
  
  Reported-by: YONETANI Tomokazu <qhwt+dfly at xxxxxxxxxx>
  
  Revision  Changes    Path
  1.52      +19 -0     src/sys/kern/kern_exit.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.51&r2=1.52&f=u





More information about the Commits mailing list