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


cma_attr_get_inherit_sched

Obtains the inherit scheduling attribute of thread creation.

Syntax

cma_attr_get_inherit_sched(
                            attr,
                            setting);
 


Argument Data Type Access

attr opaque cma_t_attr read setting opaque cma_t_sched_ write inherit


C Binding

#include 

void cma_attr_get_inherit_sched ( cma_t_attr *attr, cma_t_sched_inherit *setting);

Arguments

attr
Handle of the attributes object whose inherit scheduling attribute is obtained.
setting
Receives the value for the inherit scheduling attribute. Refer to the description of cma_attr_set_inherit_sched for valid values.

Description

This routine obtains the inherit scheduling attribute of thread creation. The inherit scheduling attribute specifies whether threads created using the attributes object inherit the scheduling attributes of the creating thread, or use the scheduling attributes stored in the attributes object that is passed to cma_thread_create.

The default value of the inherit scheduling attribute is cma_c_ sched_inherit.

Exceptions

cma_e_badparam
cma_e_existence
cma_e_use_error



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