newlib/winsup
Christopher Faylor 3f5046a540 * 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.
2002-10-13 18:16:33 +00:00
..
bz2lib
cygserver * cygserver_transport_pipes.cc (transport_layer_pipes::accept): 2002-09-30 18:31:56 +00:00
cygwin * cygthread.cc (cygthread::stub): Don't create event for long-running threads. 2002-10-13 18:16:33 +00:00
doc * ntsec.html: Add chapter for switching user context w/o password. 2002-09-11 08:39:04 +00:00
mingw * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let 2002-10-11 02:21:56 +00:00
subauth
testsuite * Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, where 2002-08-26 02:53:24 +00:00
utils * cygpath.cc (close_arg): Remove unused static. 2002-09-30 03:01:17 +00:00
w32api * include/objbase.h: Include rpc.h and rpcndr.h 2002-10-13 03:11:58 +00:00
ChangeLog * Makefile.in (check): Be more defensive when creating testsuite config.status. 2002-09-28 03:15:44 +00:00
configure
configure.in
CYGWIN_LICENSE
MAINTAINERS
Makefile.common * Makefile.in: Change COMPILE_C* definitions. 2002-08-17 02:15:05 +00:00
Makefile.in * Makefile.in (check): Be more defensive when creating testsuite config.status. 2002-09-28 03:15:44 +00:00