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


cma_attr_get_priority

Obtains the initial execution priority attribute of thread creation.

Syntax

cma_attr_get_priority(
                       attr,
                       priority);
 


Argument Data Type Access

attr opaque cma_t_attr read priority opaque cma_t_priority write


C Binding

#include 

void cma_attr_get_priority ( cma_t_attr *attr, cma_t_priority *priority);

Arguments

attr
Handle of the attributes object whose priority attribute is obtained.
priority
Receives the value of the priority attribute. Refer to the description of cma_attr_set_priority for valid values.

Description

This routine obtains the initial execution priority of threads created using the attributes object specified by the attr argument. The default value of the priority attribute is cma_c_prio_ through_mid.

Exceptions

cma_e_existence
cma_e_use_error



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