ec_thread_pool_set_backlog
Last updated March 2020
Name
ec_thread_pool_set_backlog — set the maximum backlog for an existing thread pool
Synopsis
#include "ec_thread_pool.h"
| int **ec_thread_pool_set_backlog** (
| jobclass, | |
| | backlog)
; | |
Description
Note
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 the maximum backlog for an existing thread pool.
Can only be called before the pool has spun up its threads.
- jobclass
-
the thread pool id
- backlog
-
the backlog size to use, in jobs.
returns 0 on failure and 1 on success.
Was this page helpful?