]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: FIFO: improve the interruptibility of raw_read
authorKen Brown <kbrown@cornell.edu>
Mon, 11 May 2020 13:03:37 +0000 (09:03 -0400)
committerKen Brown <kbrown@cornell.edu>
Mon, 11 May 2020 13:52:23 +0000 (09:52 -0400)
commite637d5361782f0bb911f62355a331aa6098b0058
tree466f86e422d6922a16806013cede3ac513657568
parent1f273459473e8a5a7e8b32da8e4b88c16841bd8c
Cygwin: FIFO: improve the interruptibility of raw_read

During a blocking read, we sleep for 1 ms after each iteration through
the connected writers.  Currently we do this by calling Sleep (1).
Remove this call to Sleep and instead change the timeout in the
cygwait call from 0 to 1, so that raw_read can be interrupted while
sleeping.
winsup/cygwin/fhandler_fifo.cc
This page took 0.031068 seconds and 5 git commands to generate.