]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: FIFO: fix the use of the read_ready event
authorKen Brown <kbrown@cornell.edu>
Sun, 14 Apr 2019 19:16:01 +0000 (19:16 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 16 Apr 2019 10:54:43 +0000 (12:54 +0200)
commit6b20be09442d09e745d60e76dc680b8fd45d36ea
tree9cd53d2fffc51d70e4e405cb68e0ce289921009d
parent3ef03376c5b8de8b2a80aded2f3602931cc26ae5
Cygwin: FIFO: fix the use of the read_ready event

Make read_ready a manual reset event.  It should always be set shortly
after startup of the listen_client thread and remain set until the
thread terminates.  (We don't want writers to connect without being
recorded in the client handler list.)

Remove the unnecessary code that checks for read_ready when a reader
is opening.
winsup/cygwin/fhandler_fifo.cc
This page took 0.030508 seconds and 5 git commands to generate.