git: PIPE - Fix a blocking race.

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 15 20:58:01 PDT 2009


commit 958de3056ed7f8ed4e39ff27855adf89b5d6cd0e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 15 20:56:04 2009 -0700

    PIPE - Fix a blocking race.
    
    * A pipe can get stuck in "pipewr" due to a race caused by a selwakeup()
      before a tsleep().  Fix the race.

Summary of changes:
 sys/kern/sys_pipe.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/958de3056ed7f8ed4e39ff27855adf89b5d6cd0e


-- 
DragonFly BSD source repository





More information about the Commits mailing list