mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
put new thread into active state in AttachCurrentThread
This commit is contained in:
parent
073b829c79
commit
0ce644cca2
@ -63,6 +63,8 @@ AttachCurrentThread(Machine* m, Thread** t, void*)
|
||||
if (*t == 0) {
|
||||
*t = m->processor->makeThread(m, 0, m->rootThread);
|
||||
|
||||
enter(*t, Thread::ActiveState);
|
||||
|
||||
m->localThread->set(*t);
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user