Closed JanKoelzer closed 6 years ago
Pool should be shut down, if there are non-empty queues in cellsNotDone. (How to ensure this? Maybe we need to count atomically? But still, if the counter is zero, a new Runnable can be added concurently.)
There is a PR that requires the client to call shutdown on quiescence only.
Pool should be shut down, if there are non-empty queues in cellsNotDone. (How to ensure this? Maybe we need to count atomically? But still, if the counter is zero, a new Runnable can be added concurently.)