git: kernel - bring back reasonable fifo blocking semantics

Samuel Greear sjg at crater.dragonflybsd.org
Mon Jul 26 16:58:03 PDT 2010


commit 0f2e13efc9137bb21562ef4093049fd044651429
Author: Samuel J. Greear <sjg at 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





More information about the Commits mailing list