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

cvs commit: src/sys/kern


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Sep 2004 02:53:27 -0700 (PDT)

dillon      2004/09/17 02:53:27 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_timeout.c 
  Log:
  Fix a race on SMP systems.  Since we might block while obtaining the MP
  lock we have to check sc->next to see if we raced a deletion of our
  callout, and loop if we did.
  
  Revision  Changes    Path
  1.13      +33 -19    src/sys/kern/kern_timeout.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_timeout.c.diff?r1=1.12&r2=1.13&f=u



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