CVSROOT:        /cvs/uberbaum
Module name:    winsup
Changes by:     [email protected]     2011-12-09 16:02:56

Modified files:
        cygwin         : ChangeLog fhandler.cc fhandler_console.cc 
                         fhandler_dsp.cc fhandler_fifo.cc 
                         fhandler_serial.cc fhandler_tty.cc tty.h 
                         sigproc.h select.cc 

Log message:
        Rename cygWFMO to cygwait throughout and use the magic of polymorphism 
to "wait
        for stuff".
        * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use 
simplified arg
        form of cygwait.
        * fhandler_console.cc (fhandler_console::read): Ditto.
        * fhandler_audio.cc (fhandler_dev_dsp::Audio_out::waitforspac): Ditto.
        (fhandler_dev_dsp::Audio_in::waitfordata): Ditto.
        * fhandler_fifo.cc (fhandler_fifo::wait): Ditto.
        * fhandler_serial.cc (fhandler_serial::raw_read): Ditto.
        (fhandler_serial::raw_write): Ditto.
        * select.cc (cygwin_select): Ditto.
        * sigproc.h (cygwait): Rename from cygWFMO.  Define two argument and 
single
        argument forms of this function.
        * fhandler_tty.cc (fhandler_pty_slave::open): Use method to query if 
tty is
        open.
        (fhandler_pty_slave::read): Send SIGHUP when master is detected as 
closed.
        (fhandler_pty_common::close): Close input_available_event in callers 
since
        master may need to signal it first.
        (fhandler_pty_master::close): Lie and set input_available_event when 
closing,
        then close input_available_event.
        (fhandler_pty_slave::close): Close input_available_event explicitly 
here.
        * tty.h (tty::is_master_closed): Declare new method.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5604&r2=1.5605
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.413&r2=1.414
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.256&r2=1.257
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_dsp.cc.diff?cvsroot=uberbaum&r1=1.58&r2=1.59
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_fifo.cc.diff?cvsroot=uberbaum&r1=1.52&r2=1.53
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_serial.cc.diff?cvsroot=uberbaum&r1=1.81&r2=1.82
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.251&r2=1.252
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/tty.h.diff?cvsroot=uberbaum&r1=1.33&r2=1.34
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.h.diff?cvsroot=uberbaum&r1=1.97&r2=1.98
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.186&r2=1.187

Reply via email to