* 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.
This commit is contained in:
Christopher Faylor
2000-10-19 17:57:28 +00:00
parent 2556e737ec
commit 167095f6c0
5 changed files with 22 additions and 2 deletions

View File

@@ -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