aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-08 05:05:02 +0000
committerChristopher Faylor <me@cgf.cx>2005-03-08 05:05:02 +0000
commit18edcecfbf74f23bffeefcaca1722407f6a9f597 (patch)
tree659de52828393063ae25a9e158cef9a516bf2cd1 /winsup/cygwin/dcrt0.cc
parent453456187764ae9cd1911693bf4d68e85898b9cf (diff)
downloadnewlib-18edcecfbf74f23bffeefcaca1722407f6a9f597.zip
newlib-18edcecfbf74f23bffeefcaca1722407f6a9f597.tar.gz
newlib-18edcecfbf74f23bffeefcaca1722407f6a9f597.tar.bz2
* dcrt0.cc (dll_crt0_0): Eliminate muto::init call.
* sync.h (locker): New, currently unused class. (muto::init): Eliminate. * sync.cc (muto::init): Ditto. (muto::init): Eliminate critical section lock and instead use name as a guard to prevent against multiple attempts to initialize the same muto. * pinfo.cc (pinfo::init): Set myself procinfo when not execing and pid matches windows pid or cygwin pid.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index b269b21..df639c2 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -574,7 +574,6 @@ void __stdcall
dll_crt0_0 ()
{
wincap.init ();
- muto::init ();
initial_env ();
char zeros[sizeof (child_proc_info->zero)] = {0};