Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMsgQueue_Purge | ( | kMsgQueue | queue | ) |

Removes and disposes all items from the queue.

This method does not call the drop handler when removing items. Reference (i.e., kObject-derived) items are automatically disposed.

This method is thread-safe.

Parameters

  queue | Queue object.

Returns
  Operation status.

See also
  kMsgQueue_Clear, kMsgQueue_PurgeEx