qthread_disable_worker (qthread_worker_id_t worker);
qthread_enable_worker (qthread_worker_id_t shep);
Disabled workers cannot execute threads, but the presumption is that there are other workers on each shepherd. The disabled worker may continue executing its current thread until it either blocks, yields, or exits. Once that thread stops executing, the disabled worker monitors its status and waits to be either destroyed or re-enabled.
When a worker is re-enabled, it begins scheduling threads again.
Table of Contents