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

git: kernel - bring back reasonable fifo blocking semantics


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Jul 2010 16:57:05 -0700 (PDT)

commit 0f2e13efc9137bb21562ef4093049fd044651429
Author: Samuel J. Greear <sjg@thesjg.com>
Date:   Mon Jul 26 23:52:37 2010 +0000

    kernel - bring back reasonable fifo blocking semantics
    
    * Differentiate between a pipe that has not yet been connected to and one that
      all readers or writers have disconnected from for issuing an EOF.
    
    * Add soisreconnected/soisreconnecting to restore socket flags after a
      soisdisconnected when a fifo becomes reconnected.

Summary of changes:
 sys/kern/uipc_socket2.c     |   15 +++++++++++++++
 sys/sys/socketvar.h         |    2 ++
 sys/vfs/fifofs/fifo_vnops.c |   12 ++++++------
 3 files changed, 23 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0f2e13efc9137bb21562ef4093049fd044651429


-- 
DragonFly BSD source repository



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