mirror of
https://github.com/corda/corda.git
synced 2025-02-07 19:40:25 +00:00
revert part of earlier comment involving setDaemon and runJavaThread
The code added to runJavaThread was unecessary and harmful since it allowed the global daemon thread count to become permanently out-of-sync with the actual number of daemon threads.
This commit is contained in:
parent
4a3b5ad1ab
commit
3d56a3211d
@ -1756,10 +1756,6 @@ instanceOf(Thread* t, object class_, object o);
|
|||||||
inline void
|
inline void
|
||||||
runJavaThread(Thread* t)
|
runJavaThread(Thread* t)
|
||||||
{
|
{
|
||||||
if (threadDaemon(t, t->javaThread)) {
|
|
||||||
atomicOr(&(t->flags), Thread::DaemonFlag);
|
|
||||||
}
|
|
||||||
|
|
||||||
t->m->classpath->runThread(t);
|
t->m->classpath->runThread(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user