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


cma_lib_attr_create

Creates a library attributes object.

Syntax

cma_lib_attr_create (new_attr, attr)
 


Argument Data Type Access

new_attr opaque cma_lib_t_attr write attr opaque cma_lib_t_attr read


C Binding

void
cma_lib_attr_create (
cma_lib_t_attr *new_attr,
cma_lib_t_attr *attr);

Arguments

new_attr
Variable that receives a handle for the new attributes object.
attr
Handle of the attributes object used to control attributes of the new attributes object. If you specify cma_c_null for the attr argument, default attributes are used.

Description

This routine creates an attributes object that is used to specify the attributes of objects when they are created in routines with the cma_lib_ prefix.

The queuesize attribute is the only currently defined DECthreads library routines attribute. Use the cma_lib_attr_set_queuesize routine to change the queuesize attribute.

Delete an attributes object by calling the cma_lib_attr_ delete routine when it is no longer needed to create objects.

Exceptions

cma_e_existence
cma_e_use_error



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