Obtains the maximum number of elements available on an atomic queue
attribute that is used when a queue is created.
Syntax
cma_lib_attr_get_queuesize (attr, queuesize)
Argument Data Type Access
attr opaque cma_lib_t_attr read
queuesize opaque cma_t_natural write
C Binding
void
cma_lib_attr_get_queuesize (
cma_lib_t_attr *attr,
cma_t_natural *queuesize);
Arguments
- attr
- Handle of the library attributes object whose queuesize
is obtained. This value is returned by cma_lib_attr_create.
- queuesize
- Variable that receives the current value of the queuesize
attribute.
Description
This routine obtains the queuesize attribute that is used
when a queue is created. The queuesize attribute specifies the
maximum number of elements allowed on a queue. The default queuesize
attribute is 128.
Exceptions
cma_e_existence
cma_e_use_error