Dispatch as many as possible work, so by the end either work queue or worker queue should be empty.
Dispatch as many as possible work, so by the end either work queue or worker queue should be empty. Note that the workers left in the worker queue after dispatch are the only ones that counts as idle workers.
Determines if a state indicates the workers pool are all busy.
Determines if a state indicates the workers pool are all busy. This is different from the default pushing DefaultQueue for a QueueOfIterator, it only gets work when there is at least one queued worker, which means there is a significant chance a second worker comes in before the first worker gets work. This number is still a bit arbitrary though. Obviously we still have to chose an arbitrary number as the threshold of queued workers with which we deem the queue as partially utilized. Todo: Right now we lack the insight of how to set this up correctly so I'd rather have it hard coded for now than allowing our users to tweak it without giving them any guidance