|
|
|
@ -55,7 +55,9 @@ public enum ForgeManager implements Runnable {
@@ -55,7 +55,9 @@ public enum ForgeManager implements Runnable {
|
|
|
|
|
|
|
|
|
|
while (true) { |
|
|
|
|
|
|
|
|
|
// workOrders are popped then processed once completion time has passed.
|
|
|
|
|
// The forge is a blocking priority queue using an epoc sort.
|
|
|
|
|
// workOrders are popped once the workOrder.completionTime has
|
|
|
|
|
// passed.
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
workOrder = forge.take(); |
|
|
|
|