Skip to main content

ec_thread_pool_set_stack_size

Last updated March 2020

Name

ec_thread_pool_set_stack_size — set the stack size for an existing thread pool

Synopsis

#include "ec_thread_pool.h"

| int **ec_thread_pool_set_stack_size** ( | jobclass, |   | |   | size); |   |

int <var class="pdparam">jobclass</var>; size_t <var class="pdparam">size</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 stack size for an existing thread pool.

The stack size will take effect for threads that are spawned after this call; it is not possible to change the stack size of existing threads.

Parameters

jobclass

the thread pool id

size

the stack size to use, in bytes.

Return Values

returns 0 on failure and 1 on success.

Was this page helpful?