releasePool

fnvoid releasePool(TaskPool pool) @trusted

Releases one dispatch's use of pool. When the last user of a retired generation releases it, the pool stops there and then - outside the guard (stop joins its worker threads, which are idle for this pool by then: no new work is submitted to a retired generation).

Parameters

poolthe pool returned by the matching acquirePool