Zen API
|
Reserves memory for the specified number of items.
This method reserves internal memory for queue items, in order to reduce occurences of internal memory allocation as the size of the queue grows. It is unrelated to the queue capacity constraints specified with the kMsgQueue_SetMaxSize or kMsgQueue_SetMaxCount methods.
This method is thread-safe.
queue | Queue object. |
count | Count of items for which to reserve capacity. |