[PATCH fifo 0/2] Add support for duplex FIFOs
Ken Brown
kbrown@cornell.edu
Tue Mar 26 17:24:00 GMT 2019
Hi Corinna,
On 3/26/2019 4:36 AM, Corinna Vinschen wrote:
> Hi Ken,
>
> On Mar 25 23:06, Ken Brown wrote:
>> The second patch in this series enables opening a FIFO with O_RDWR
>> access. The underlying Windows named pipe is creted with duplex
>> access, and its handle is made the I/O handle of the first client.
>>
>> While testing this, I had some mysterious crashes, which are fixed by
>> the first patch.
>
> I rebased the topic/fifo branch on top of master and force-pushed with
> your patches. Make sure to reset your working tree to origin/topic/fifo
> and add any further patches on top.
I'm comfortable now with merging topic/fifo into master. I've tested the new
select and fork code [*], and they seem to work as expected. That was the last
thing holding me up.
As soon as the merge is done, I'll send a patch with release notes.
Ken
[*] For the record, I'm attaching the two test programs I used. In each case I
ran the program in one terminal and typed "echo blah > /tmp/myfifo" in a second
terminal.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fifo_fork_test.c
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20190326/003c023d/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fifo_select_test.c
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20190326/003c023d/attachment-0001.c>
More information about the Cygwin-patches
mailing list