DragonFly commits List (threaded) for 2008-03
DragonFly BSD
DragonFly commits List (threaded) for 2008-03
[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: Fri, 21 Mar 2008 12:42:41 -0700 (PDT)

dillon      2008/03/21 12:42:41 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_exit.c 
  Log:
  We must hold the lwp we are trying to kill to prevent it from being
  ripped out from under our loop due to lwpsignal() potentially blocking.
  
  This fixes a crash which can occur when killing a multi-threaded program.
  
  Revision  Changes    Path
  1.88      +6 -1      src/sys/kern/kern_exit.c


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



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