git: tsleep - close a tsleep/wakeup race.

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 8 19:39:14 PDT 2009


commit 4ecd8190c7233ad5f0caba1438da9745d643875a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 8 19:34:07 2009 -0700

    tsleep - close a tsleep/wakeup race.
    
    * Interlock the tsleep prior to releasing the current thread to close a
      sleep/wakeup race.

Summary of changes:
 sys/kern/kern_synch.c |   52 ++++++++++++++++++++++++++++++++-----------------
 1 files changed, 34 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4ecd8190c7233ad5f0caba1438da9745d643875a


-- 
DragonFly BSD source repository





More information about the Commits mailing list