4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 11:00:04 +08:00
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
..
2001-09-11 20:01:02 +00:00
2001-12-20 03:03:59 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2002-09-30 15:17:44 +00:00
2001-10-12 01:51:21 +00:00
2001-09-11 20:01:02 +00:00
2002-04-19 14:42:20 +00:00
2002-09-30 15:17:44 +00:00
2002-09-30 15:17:44 +00:00
2001-09-11 20:01:02 +00:00
2002-09-30 15:17:44 +00:00
2001-10-05 04:36:14 +00:00
2002-09-04 15:17:24 +00:00
2001-10-28 23:05:49 +00:00
.
2002-05-04 04:30:57 +00:00
2002-08-03 23:34:01 +00:00
2002-02-11 02:25:42 +00:00
2002-01-13 20:03:03 +00:00
2002-09-30 15:17:44 +00:00
2001-06-01 01:45:53 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2002-09-30 15:17:44 +00:00
2001-09-11 20:01:02 +00:00
2002-08-18 04:13:57 +00:00
2002-04-04 05:28:49 +00:00
2002-10-05 17:47:25 +00:00
2002-03-05 18:03:32 +00:00