- wait(+Boolean)
- If
true
(default) and the pool is full, wait until a member of the pool completes. Iffalse
, throw a resource_error.
- Errors
- -
resource_error(threads_in_pool(Pool))
is raised if wait isfalse
or the backlog limit has been reached.
-existence_error(thread_pool, Pool)
if Pool does not exist.