Fix typo preventing threadpools from running

This commit is contained in:
James Seibel
2024-12-27 18:11:51 -06:00
parent 31a65d1ce5
commit 64b26f0267
@@ -72,8 +72,9 @@ public class PrioritySemaphore
int priority = executor.priority + this.random.nextInt(11) - 5;
// this thread will be run when a permit is available
thread.wait();
this.queue.put(new ThreadWithPriority(thread,priority));
thread.wait();
}
}