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