thing
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user