2004-04-12 Christopher Faylor <cgf@alum.bu.edu>
+ * thread.cc (pthread::thread_init_wrapper): Wait later to get more
+ parallel behavior.
+
+2004-04-12 Christopher Faylor <cgf@alum.bu.edu>
+
* thread.cc (pthread::create): Use thread mutex to control
synchronization rather than creating a suspended thread. Wait for
"cancellation event" to indicate that started thread has been properly
}
else
{
+ postcreate ();
if (WaitForSingleObject (cancel_event, 5000) != WAIT_OBJECT_0)
thread_printf ("event never arrived after CreateThread");
ResetEvent (cancel_event);
- postcreate ();
}
mutex.unlock ();
}