mirror of
https://github.com/corda/corda.git
synced 2025-04-26 05:49:44 +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) {
|
if (*t == 0) {
|
||||||
*t = m->processor->makeThread(m, 0, m->rootThread);
|
*t = m->processor->makeThread(m, 0, m->rootThread);
|
||||||
|
|
||||||
|
enter(*t, Thread::ActiveState);
|
||||||
|
|
||||||
m->localThread->set(*t);
|
m->localThread->set(*t);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user