]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: fhandler_fifo::raw_read: handle STATUS_PENDING
authorKen Brown <kbrown@cornell.edu>
Tue, 23 Nov 2021 16:40:56 +0000 (11:40 -0500)
committerKen Brown <kbrown@cornell.edu>
Tue, 23 Nov 2021 20:50:01 +0000 (15:50 -0500)
commit4f47e64b11ed8d47c62fa89e9b971f44b7e9ab75
tree12078a69907a4af767628bb1f787d1f14dc134f2
parent6d34b62cb8e192071e193516c23419854c3b4127
Cygwin: fhandler_fifo::raw_read: handle STATUS_PENDING

NtReadFile can return STATUS_PENDING occasionally even in non-blocking
mode.  Check for this and wait for NtReadFile to complete.  To avoid
code repetition, do this in a static helper function nt_read.
winsup/cygwin/fhandler_fifo.cc
This page took 0.028992 seconds and 5 git commands to generate.