]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: FIFO: stop using overlapped I/O
authorKen Brown <kbrown@cornell.edu>
Fri, 22 Mar 2019 19:30:36 +0000 (19:30 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 27 Mar 2019 13:01:45 +0000 (14:01 +0100)
commit5955da96e29f37243205b4294e8aa55a53443416
treef765d11153a17a9d60a7a3f881341d23442ba809
parent9fd429e6a73d306cf23aa84c845639abb35737d3
Cygwin: FIFO: stop using overlapped I/O

Make fhandler_fifo a derived class of fhandler_base instead of
fhandler_base_overlapped.

Replace the create_pipe macro, which is based on
fhandler_pipe::create, by new create_pipe and open_pipe methods.
These use NT functions instead of Win32 functions.  Replace fifo_name
by get_pipe_name, which returns a pointer to a UNICODE_STRING.

Remove the fnevent macro, which would now be needed only once.

Add a raw_write method, adapted from fhandler_base::raw_write.

Adapt all functions to the changes above.
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_fifo.cc
This page took 0.030675 seconds and 5 git commands to generate.