Skip to main content

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); |   |

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

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.

Parameters

jobclass

the thread pool id

backlog

the backlog size to use, in jobs.

Return Values

returns 0 on failure and 1 on success.

Was this page helpful?