Note
This commit is contained in:
@@ -179,6 +179,7 @@ public class AsyncNodeManager {
|
|||||||
|
|
||||||
private void run() {
|
private void run() {
|
||||||
if (this.workCounter.get() <= 0) {
|
if (this.workCounter.get() <= 0) {
|
||||||
|
//TODO: here, instead of parking, we can do more work on other sub-tasks such as filtering the mesh build queue
|
||||||
LockSupport.park();
|
LockSupport.park();
|
||||||
if (this.workCounter.get() <= 0 || !this.running) {//No work
|
if (this.workCounter.get() <= 0 || !this.running) {//No work
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user