surely this is ok

This commit is contained in:
Brady 2023-07-16 19:14:44 -05:00
parent 19b66903d0
commit 3873aae710
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 4 additions and 4 deletions

View File

@ -228,16 +228,16 @@ public final class NetherPathfinderContext {
private static final class WorkQueue extends TrollBlockingQueue<Runnable> {
private final ConcurrentLinkedDeque<Runnable> path;
private final ConcurrentLinkedDeque<Runnable> chunk;
private final LinkedList<Runnable> path;
private final LinkedList<Runnable> chunk;
private final ReentrantLock takeLock = new ReentrantLock();
private final ReentrantLock putLock = new ReentrantLock();
private final Condition notEmpty = takeLock.newCondition();
public WorkQueue() {
this.path = new ConcurrentLinkedDeque<>();
this.chunk = new ConcurrentLinkedDeque<>();
this.path = new LinkedList<>();
this.chunk = new LinkedList<>();
}
private void signalNotEmpty() {