Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 48a7b9fe0..6f82e1273 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1021,7 +1021,7 @@ do_exit (int status)
}
#endif
- get_exit_lock ();
+ process_lock until_exit (true);
if (exit_state < ES_GLOBAL_DTORS)
{
@@ -1138,17 +1138,6 @@ _exit (int n)
do_exit (((DWORD) n & 0xff) << 8);
}
-void
-get_exit_lock ()
-{
- myself.lock ();
- if (exit_state < ES_SET_MUTO)
- {
- exit_state = ES_SET_MUTO;
- muto::set_exiting_thread ();
- }
-}
-
extern "C" void
__api_fatal (const char *fmt, ...)
{