winsup/cygwin ChangeLog cygthread.cc sigproc.c ...

2002-10-13 Thread cgf

CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-10-13 20:51:45

Modified files:
cygwin : ChangeLog cygthread.cc sigproc.cc spawn.cc 

Log message:
* cygthread.cc (cygthread::stub): Reintroduce clearing of __name but do it
before SetEvent to eliminate a race.
(cygthread::terminate): Accumulate list of threads to check for termination and
call WaitForMultipleObjects on list rather than waiting for each thread
individually.
* sigproc.cc (subproc_init): Zap hwait_subproc thread handle since it is no
longer used.
* spawn.cc (spawn_guts): Fix so that cygthread::terminate is *really* called
only for exec.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1529&r2=1.1530
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygthread.cc.diff?cvsroot=uberbaum&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.121&r2=1.122
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.116&r2=1.117




src/winsup/cygwin ChangeLog cygthread.cc spawn.cc

2002-10-13 Thread cgf

CVSROOT:/cvs/src
Module name:src
Branch: cygwin-1-3-13-2
Changes by: [EMAIL PROTECTED]  2002-10-13 20:31:59

Modified files:
winsup/cygwin  : ChangeLog cygthread.cc spawn.cc 

Log message:
* spawn.cc (spawn_guts): Fix so that cygthread::terminate is *really* called
only for exec.
* cygthread.cc (cygthread::stub): Don't zero __name here.  That introduces a
race.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cygwin-1-3-13-2&r1=1.1527&r2=1.1527.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.cc.diff?cvsroot=src&only_with_tag=cygwin-1-3-13-2&r1=1.13&r2=1.13.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&only_with_tag=cygwin-1-3-13-2&r1=1.116&r2=1.116.4.1




winsup/cygwin ChangeLog cygthread.cc

2002-10-13 Thread cgf

CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-10-13 19:37:49

Modified files:
cygwin : ChangeLog cygthread.cc 

Log message:
* cygthread.cc (cygthread::stub): Don't zero __name here.  That introduces a
race.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1528&r2=1.1529
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygthread.cc.diff?cvsroot=uberbaum&r1=1.13&r2=1.14




src/winsup/w32api ChangeLog include/windows.h ...

2002-10-13 Thread dannysmith

CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2002-10-13 19:12:52

Modified files:
winsup/w32api  : ChangeLog 
winsup/w32api/include: windows.h objfwd.h 

Log message:
* include/windows.h: Don't include basetyps.h.
* include/objfwd.h: Do include basetyps.h.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=src&r1=1.264&r2=1.265
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/windows.h.diff?cvsroot=src&r1=1.13&r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/objfwd.h.diff?cvsroot=src&r1=1.2&r2=1.3




winsup/cygwin ChangeLog include/cygwin/version.h

2002-10-13 Thread cgf

CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-10-13 17:06:33

Modified files:
cygwin : ChangeLog 
cygwin/include/cygwin: version.h 

Log message:
* include/cygwin/version.h: Bump DLL minor number.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1527&r2=1.1528
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=uberbaum&r1=1.76&r2=1.77




winsup/cygwin ChangeLog cygthread.cc cygthread ...

2002-10-13 Thread cgf

CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-10-13 11:16:33

Modified files:
cygwin : ChangeLog cygthread.cc cygthread.h dcrt0.cc 
 exceptions.cc pinfo.cc shared.cc shared_info.h 
 spawn.cc window.cc winsup.h 

Log message:
* cygthread.cc (cygthread::stub): Don't create event for long-running threads.
Initialize thread_sync event here which is used to Suspend using an event
rather than relying on SuspendThread/ResumeThread.
(cygthread::init): Save handle to runner thread for future termination.
(cygthread::cygthread): Only resume thread when it is actually suspended.
Otherwise signal thread completion event.
(cygthread::terminate): Forcibly terminate runner thread and any helper
threads.  Call DisableThreadLibrary calls if execing.
* cygthread.h (cygthread::thread_sync): Declare.
* dcrt0.cc (do_exit): Eliminate calls to obsolete window_terminate and
shared_terminate.
* exceptions.cc (events_terminate): Don't bother closing title_mutex since it
is going away anyway.
* pinfo.cc (_pinfo::exit): Call cygthread::terminate to ensure that threads are
shut down before process exit or otherwise strange races seem to occur.
* shared.cc (shared_terminate): Eliminate.
* shared.h (shared_terminate): Eliminate declaration.
* winsup.h (window_terminate): Eliminate declaration.
* spawn.cc (spawn_guts): Call cygthread::terminate early in process if execing.
Call DisableThreadLibrary calls if execing.
* window.cc (Winmain): Call ExitThread to force exit.
(window_terminate): Eliminate.
* dcrt0.cc (do_exit): Track exit state more closely.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1526&r2=1.1527
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygthread.cc.diff?cvsroot=uberbaum&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygthread.h.diff?cvsroot=uberbaum&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.156&r2=1.157
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.127&r2=1.128
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.62&r2=1.63
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/shared.cc.diff?cvsroot=uberbaum&r1=1.53&r2=1.54
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/shared_info.h.diff?cvsroot=uberbaum&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.115&r2=1.116
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/window.cc.diff?cvsroot=uberbaum&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/winsup.h.diff?cvsroot=uberbaum&r1=1.103&r2=1.104




src/winsup/w32api ChangeLog include/objbase.h

2002-10-13 Thread dannysmith

CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2002-10-12 20:11:58

Modified files:
winsup/w32api  : ChangeLog 
winsup/w32api/include: objbase.h 

Log message:
* include/objbase.h: Include rpc.h and rpcndr.h
before header guard.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=src&r1=1.263&r2=1.264
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/objbase.h.diff?cvsroot=src&r1=1.6&r2=1.7