]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: FIFO: add support for the duplex case
authorKen Brown <kbrown@cornell.edu>
Mon, 25 Mar 2019 23:06:10 +0000 (23:06 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 27 Mar 2019 13:01:45 +0000 (14:01 +0100)
commita137da74bae803a4770dce9a6f38f1def582fe80
tree54b2f0c1e07caff49799596665b5bd26a0c14668
parent40db74128ad2ed2431cd67f1c14ab50d4859d4df
Cygwin: FIFO: add support for the duplex case

If a FIFO is opened with O_RDWR access, create the pipe with
read/write access, and make the first client have the handle of that
pipe as its I/O handle.

Adjust fhandler_fifo::raw_read to account for the result of trying to
read from that client if there's no data.
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_fifo.cc
This page took 0.029135 seconds and 5 git commands to generate.