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:
authorChristopher Faylor <me@cgf.cx>2010-03-28 21:27:52 +0400
committerChristopher Faylor <me@cgf.cx>2010-03-28 21:27:52 +0400
commitc019a66c32f8575c85524e4fb889d79093acee56 (patch)
tree278a080d1137888fb71c7d1d9e8b6719aeffaf26 /winsup/cygwin/globals.cc
parent84fef941e8d447e5b85db7ab4616b69d176bdcc2 (diff)
* globals.cc (exit_status): Add new ES_EXIT_STARTING enum.
* dcrt0.cc (cygwin_exit): Set exit_state to ES_EXIT_STARTING prior to calling real exit. * dll_init.cc (dll_list::detach): Remove dll from linked list and call destructors even if exiting. Don't call __cxa_finalize in exiting case.
Diffstat (limited to 'winsup/cygwin/globals.cc')
-rw-r--r--winsup/cygwin/globals.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc
index 5934a72b7..0baa96e3a 100644
--- a/winsup/cygwin/globals.cc
+++ b/winsup/cygwin/globals.cc
@@ -30,6 +30,7 @@ int NO_COPY sigExeced;
enum exit_states
{
ES_NOT_EXITING = 0,
+ ES_EXIT_STARTING,
ES_PROCESS_LOCKED,
ES_EVENTS_TERMINATE,
ES_THREADTERM,