fixed xul deadlock bug on linux

This commit is contained in:
Josh warner 2009-06-11 09:52:13 -06:00
parent 6bca8fcefc
commit f773c9e610

View File

@ -62,8 +62,10 @@ AttachCurrentThread(Machine* m, Thread** t, void*)
*t = static_cast<Thread*>(m->localThread->get());
if (*t == 0) {
*t = m->processor->makeThread(m, 0, m->rootThread);
m->system->attach(&((*t)->runnable));
enter(*t, Thread::ActiveState);
enter(*t, Thread::IdleState);
m->localThread->set(*t);
}