OSDN Git Service

* dcrt0.cc (do_exit): Don't set ES_SET_MUTO here. Call get_exit_lock()
authorcgf <cgf>
Fri, 30 Sep 2005 23:52:12 +0000 (23:52 +0000)
committercgf <cgf>
Fri, 30 Sep 2005 23:52:12 +0000 (23:52 +0000)
commitf2673ea106b346679aba0cd4ca109a58df2a49a2
tree1fef897b51129d99edab43886ed66785593a840a
parent1553ef0ae2a367f0be920f214967f122d633e57c
* dcrt0.cc (do_exit): Don't set ES_SET_MUTO here.  Call get_exit_lock()
instead.
(get_exit_lock): New function.  Grabs the lock and sets initial exit_state.
* exceptions.cc (try_to_debug): Use low_priority_sleep.
(sigpacket::process): Avoid handler if this is an exec stub.
(signal_exit): Use get_exit_lock rather than manipulating the exit_lock
critical section directly.
* pinfo.cc (pinfo::exit): Ditto.
* winsup.h (get_exit_lock): Declare.
(exit_lock): Delete declaration.
winsup/cygwin/ChangeLog
winsup/cygwin/dcrt0.cc
winsup/cygwin/exceptions.cc
winsup/cygwin/pinfo.cc
winsup/cygwin/winsup.h