From 167095f6c0e99025764ea231f11b58c0b9f2685d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 19 Oct 2000 17:57:28 +0000 Subject: * dcrt0.cc (sigthread::init): Correct overzealous ifdef. * exceptions.cc (call_handler): Avoid calling sigthread acquire lock. * sigproc.h (sigthread): Comment out lock for now. * sync.cc (muto::acquire): Add a minor optimization. --- winsup/cygwin/dcrt0.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/dcrt0.cc') diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index fbf794721..c23f1dbc0 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -616,8 +616,8 @@ sigthread::init (const char *s) { #if 0 /* FIXME: Someday we'll need this for inter-thread signalling */ lock = new_muto (FALSE, s); - id = GetCurrentThreadId (); #endif + id = GetCurrentThreadId (); } /* Take over from libc's crt0.o and start the application. Note the -- cgit v1.2.3