Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMsgQueue_Clear | ( | kMsgQueue | queue | ) |

Removes all items from the queue.

This method does not call the drop handler when removing items and does not automatically dispose queue elements. Use kMsgQueue_Purge to both remove and dispose items.

This method is thread-safe.

Parameters

  queue | Queue object.

Returns
  Operation status.

See also
  kMsgQueue_Purge, kMsgQueue_PurgeEx