mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +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
|
||||
runJavaThread(Thread* t)
|
||||
{
|
||||
if (threadDaemon(t, t->javaThread)) {
|
||||
atomicOr(&(t->flags), Thread::DaemonFlag);
|
||||
}
|
||||
|
||||
t->m->classpath->runThread(t);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user