CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2004-06-07 04:26:34

Modified files:
        winsup/cygwin  : dtable.cc fhandler.h fhandler_fifo.cc pinfo.cc 
                         thread.cc ChangeLog 

Log message:
        * dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy).
        * fhandler.h (fhandler_fifo::get_io_handle): New fifo-specific method.
        * fhandler_fifo.cc (fhandler_fifo::close): Close output_handle only if it is
        open.
        (fhandler_fifo::open_not_mine): Reorganize slightly.  Don't call _pinfo methods
        when the fifo is owned by me or suffer dtable lock_cs deadlock.
        (fhandler_fifo::open): Call open_not_mine first, otherwise open myself
        (racy).
        * pinfo.cc (_pinfo::commune_recv): Duplicate fifo handles here in requesting
        processes arena to avoid one potential race (of many).
        (_pinfo::commune_send): Move all PICOM_FIFO code under one case statement.
        * thread.cc (pthread::init_mainthread) Use existing hMainProc handle rather
        than calling GetCurrentProcess.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.140&r2=1.141
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.208&r2=1.209
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_fifo.cc.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&r1=1.114&r2=1.115
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.172&r2=1.173
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2498&r2=1.2499

Reply via email to