PIPE - Fix a blocking race.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 16 Aug 2009 03:56:04 +0000 (20:56 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 16 Aug 2009 03:56:04 +0000 (20:56 -0700)
commit958de3056ed7f8ed4e39ff27855adf89b5d6cd0e
tree17cc9c3ddbadf97c5ddec7e1ec2818166513f6ce
parent0101eac16d9a95748a1368f11b67a7119ba99c15
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.
sys/kern/sys_pipe.c