cvs commit: src/sys/kern kern_exit.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Mar 21 12:43:32 PDT 2008


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





More information about the Commits mailing list