JanKoelzer / reactive-async

Expressive deterministic concurrency in Scala
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

pool.shutdown #15

Closed JanKoelzer closed 6 years ago

JanKoelzer commented 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.)

JanKoelzer commented 6 years ago

There is a PR that requires the client to call shutdown on quiescence only.