There are other use cases for this pattern (a looping construct that checks if it should exit after each loop, using a thread pool). It was largely copied from Phobos but there are at least two or three uses just in Deimos and I think it could be helpful elsewhere.
There are other use cases for this pattern (a looping construct that checks if it should exit after each loop, using a thread pool). It was largely copied from Phobos but there are at least two or three uses just in Deimos and I think it could be helpful elsewhere.