Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMsgQueue_SetMaxCount | ( | kMsgQueue | queue,
|  | kSize | count
| ) |  |

Sets the maximum count of items retained by the queue.

By default, the maximum count of items is unlimited.

This method is thread-safe.

Parameters

  queue | Queue object.
  count | Maximum total items in queue.

Returns
  Operation status.