summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-19 17:57:28 +0000
committerChristopher Faylor <me@cgf.cx>2000-10-19 17:57:28 +0000
commit167095f6c0e99025764ea231f11b58c0b9f2685d (patch)
treef6a38daafbd77074054d95430ec5716eb0df8e6a /winsup/cygwin/dcrt0.cc
parent2556e737ec044e39cd8afc6f00cd0f156b9d6ede (diff)
downloadcygnal-167095f6c0e99025764ea231f11b58c0b9f2685d.tar.gz
cygnal-167095f6c0e99025764ea231f11b58c0b9f2685d.tar.bz2
cygnal-167095f6c0e99025764ea231f11b58c0b9f2685d.zip
* 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.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
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