[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


cma_attr_get_stacksize

Obtains the stacksize attribute of thread creation.

Syntax

cma_attr_get_stacksize(
                       attr,
                       stacksize);
 


Argument Data Type Access

attr opaque cma_t_attr read stacksize opaque cma_t_natural write


C Binding

#include 

void cma_attr_get_stacksize ( cma_t_attr *attr, cma_t_natural *stacksize);

Arguments

attr
Handle of the attributes object whose stacksize attribute is obtained.
stacksize
Value of the stacksize attribute. The stacksize argument specifies the minimum size (in bytes) of the stack needed for a thread.

Description

This routine obtains 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_in_use
cma_e_use_error



[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]