OSDN Git Service

* cygtls.cc (_cygtls::init_thread): Set __sdidinit to negative value to
authorcgf <cgf>
Tue, 7 Sep 2004 04:05:13 +0000 (04:05 +0000)
committercgf <cgf>
Tue, 7 Sep 2004 04:05:13 +0000 (04:05 +0000)
commitb7b1dcd3b0ae31fcf4108b308c25307bbae757e5
treee13cf3a8f87db2e53563220650123f6f8a85365e
parente5598907ee6ae860d70c9be7b7e4bb40805b4a44
* cygtls.cc (_cygtls::init_thread): Set __sdidinit to negative value to
indicate that it is "special".
* thread.cc (pthread::exit): If __sdidinit is < 0, it was never really
initialized so reset it to 0 before calling _reclaim_reent.
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.cc
winsup/cygwin/thread.cc