DragonFly BSD
DragonFly commits List (threaded) for 2005-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_exit.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Dec 2005 11:13:34 -0800 (PST)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]