Zen API

- Home
- Topics
- Types
- Files

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

  queue | Queue object.
  size | Maximum total size of all data items in queue, in bytes.

Returns
  Operation status.