THREADPOOL_DYING
if (ISSET(pool->tp_flags, THREADPOOL_DYING)) {
pool->tp_flags |= THREADPOOL_DYING;
KASSERT(pool->tp_flags == THREADPOOL_DYING);