ec_thread_pool_set_stack_size
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)
; | |
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.
- jobclass
-
the thread pool id
- size
-
the stack size to use, in bytes.
returns 0 on failure and 1 on success.