]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: FIFO: update select
authorKen Brown <kbrown@cornell.edu>
Fri, 22 Mar 2019 19:30:41 +0000 (19:30 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 27 Mar 2019 13:01:45 +0000 (14:01 +0100)
commitee394c311e493ba8e23516a2ba72cadf3d9eaf9a
tree35ed9067c6a79f0d86df3fecbcfbcfd77fef47ec
parent1aa438a94c9a3b89930bd6a10a6fc8de0c2bd282
Cygwin: FIFO: update select

Add static functions peek_fifo, thread_fifo, start_thread_fifo, and
fifo_cleanup to select.cc.  These are based on the corresponding pipe
functions, the main difference being that peek_fifo loops through the
connected clients to see if any of them have data available for
reading.

Add the fhandler_fifo methods select_read, select_write, and
select_except.

Add accessor methods get_nclients, get_handle, and is_connected that
are needed by peek_fifo.
winsup/cygwin/fhandler.h
winsup/cygwin/select.cc
winsup/cygwin/select.h
This page took 0.030336 seconds and 5 git commands to generate.