Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kQueue_Reserve | ( | kQueue | queue,
|  | kSize | capacity
| ) |  |

Ensures that capacity is reserved for at least the specified number of queue items.

Existing queue items are preserved.

Parameters

  queue | Queue object.
  capacity | Queue capacity, in items.

Returns
  Operation status.