Skip to main content


ec_thread_pool_auto_shrink — set a thread pool to auto shrink


#include "ec_thread_pool.h"

| void **ec_thread_pool_auto_shrink** ( | jobclass); |   |

int <var class="pdparam">jobclass</var>;



This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

set a thread pool to auto shrink.

When a thread in such a pool has no more jobs available, it will exit, releasing resources.

Was this page helpful?