Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kMsgQueue_SetMaxSize ( kMsgQueue  queue,
kSize  size 
)

Sets the maximum amount of data retained by the queue.

By default, the maximum total amount of data is unlimited.

This method is thread-safe.

Parameters
queueQueue object.
sizeMaximum total size of all data items in queue, in bytes.
Returns
Operation status.