CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2003-06-24 20:14:01

Modified files:
        winsup/cygwin  : ChangeLog thread.cc thread.h 

Log message:
        * thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
        (pthread::threads): Instantiate.
        (pthread::pthread): Initialize running and suspendend.
        Initialize next with NULL.
        Add thread to thread list if it is not the null_pthread.
        (pthread::~pthread): Remove thread from thread list if it is not the 
null_pthread.
        (pthread::postcreate): Set running flag.
        (pthread::exit): Reset running flag.
        (pthread::cancel): Try to cancel thread only if still running.
        (pthread::_fixup_after_fork): Implement.
        (pthread::detach): Check if thread is still running before detach.
        * thread.h (pthread::running): New member.
        (pthread::next): Ditto.
        (pthread::fixup_after_fork): New static method.
        (pthread::threads): New static method.
        (pthread::_fixup_after_fork): New method.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1941&r2=1.1942
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.128&r2=1.129
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.70&r2=1.71

Reply via email to