newlib/winsup
Christopher Faylor b4fa816474 * select.h: New file split from fhandler.h.
(select_record::select_record): Define do-nothing constructor for "new" to
avoid gratuitous zeroing.
(select_info): New base class.
(select_pipe_info): New class with methods for dealing with pipes.
(select_socket_info): New class with methods for dealing with sockets.
(select_serial_info): Dummy class for serial.
(select_mailslot_info): Dummy class for mailslots.
(select_stuff): Define device_specific_* as actual classes rather than void *.
* dtable.h (dtable::select_read): Accommodate return value change to 'bool' and
argument change to "select_stuff".
(dtable::select_write): Ditto.
(dtable::select_except): Ditto.
* dtable.cc (dtable::select_read): Accommodate return value change to 'bool'
and argument change to "select_stuff".
(dtable::select_write): Ditto.
(dtable::select_except): Ditto.
* fhandler.h: Excise select-related classes.
(fhandler_*::select_read): Change argument to select_stuff.
(fhandler_*::select_write): Ditto.
(fhandler_*::select_except): Ditto.
* select.cc (UNIX_FD_ZERO): Use memset rather than bzero.
(select_stuff::test_and_set): Change return type to bool.  Allocate
select_record on entry and let fhandler_*::select_* operate on the start.next
field of select_stuff.
(pipeinf): Delete.
(select_pipe_info::select_pipe_info): New constructor.  Allocates event for
controlling pipe waits.
(select_pipe_info::~select_pipe_info): New destructor.  Destroy event.  Stop
thread.
(select_pipe_info::add_watch_handle): New function.
(thread_pipe): Wait for the hEvent part of any overlapped pipes before peeking.
(start_thread_pipe): Don't allocate device_specific_pipe stuff here.  Assume
that it has been allocated earlier.
(pipe_cleanup): Rely on select_pipe_info destructor to clean up pipe
paraphenalia.
(fhandler_*::select_*): Derive select_record from new select_stuff argument.
(fhandler_pipe::select_*): Ditto.  Allocate pipe-specific field if not already
allocated.
(serialinf): Delete.
(thread_serial): serialinf -> select_serial_info.
(fhandler_base::ready_for_read): Rewrite to accommodate change in argument to
fhandler_*::select_*.
(socketinf): Delete.
(thread_socket): socketinf -> select_socket_info.
(mailslotinf): Delete.
(thread_mailslot): mailslotinf -> select_mailslot_info.
2009-06-30 21:18:44 +00:00
..
cygserver * README: Remove "How to use" section, as CYGWIN="server" is 2009-03-27 10:17:48 +00:00
cygwin * select.h: New file split from fhandler.h. 2009-06-30 21:18:44 +00:00
doc * faq-setup.xml (faq.setup.setup-fails-on-ts): Fix another typo. 2009-06-24 07:57:03 +00:00
lsaauth Add DESTDIR functionality to Makefile.in's. 2009-02-24 02:11:14 +00:00
mingw 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> 2009-06-17 22:01:36 +00:00
testsuite * Revert erroneous checkin. 2008-11-26 16:42:27 +00:00
utils * path.cc (oopts): Sort alphabetically, add missing "auto" and 2009-06-10 10:42:22 +00:00
w32api * include/wtsapi32.h (WTSQueryUserToken, WTSEnumerateSessionsW, 2009-06-24 10:30:07 +00:00
acinclude.m4
aclocal.m4
ChangeLog * Move ChangeLog entry. 2009-05-06 12:08:07 +00:00
configure ChangeLog: 2009-01-21 17:14:39 +00:00
configure.in ChangeLog: 2009-01-21 17:14:39 +00:00
COPYING
CYGWIN_LICENSE * CYGWIN_LICENSE: New text. 2008-05-16 08:40:39 +00:00
Makefile.common
Makefile.in Add DESTDIR functionality to Makefile.in's. 2009-02-24 02:11:14 +00:00
README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at http://cygwin.com
You might especially be interested in

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin