Changes the stacksize attribute of thread creation.
Syntax
cma_attr_set_stacksize(
attr,
stacksize);
Argument Data Type Access
attr opaque cma_t_attr read
stacksize opaque cma_t_natural read
C Binding
#include
void
cma_attr_set_stacksize (
cma_t_attr *attr,
cma_t_natural stacksize);
Arguments
- attr
- Handle of the attributes object modified.
- stacksize
- New value for the stacksize attribute. The stacksize
argument specifies the minimum size (in bytes) of the stack needed
for a thread.
Description
This routine sets the minimum size (in bytes) of the stack
needed for a thread created using the attributes object specified by
the attr argument.
Exceptions
cma_e_badparam
cma_e_existence
cma_e_stackovf
cma_e_use_error