Cygwin: FIFO: synchronize the blocking mode of a writer's pipe

The blocking mode of the Windows pipe underlying a writer is set to
match that of the writer itself when the latter is opened.  Define
fhandler_fifo::fcntl to keep the pipe and the writer in sync if the
blocking mode is changed via fcntl.
This commit is contained in:
Ken Brown
2019-04-25 18:21:11 -04:00
parent f527171a93
commit 440559c40a
2 changed files with 17 additions and 0 deletions

View File

@@ -1294,6 +1294,7 @@ public:
int open (int, mode_t);
off_t lseek (off_t offset, int whence);
int close ();
int fcntl (int cmd, intptr_t);
int dup (fhandler_base *child, int);
bool isfifo () const { return true; }
void set_close_on_exec (bool val);