This commit is contained in:
mcrcortex
2025-05-03 15:10:41 +10:00
parent 86c4c8f09e
commit 834253f0ae

View File

@@ -130,8 +130,10 @@ public class ActiveSectionTracker {
} }
return section; return section;
} else { } else {
while ((section = holder.obj) == null) while ((section = holder.obj) == null) {
Thread.onSpinWait();
Thread.yield(); Thread.yield();
}
//lock.lock(); //lock.lock();
{//Dont think need to lock here {//Dont think need to lock here