Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMsgQueue_AddEx | ( | kMsgQueue | queue,
|  | void * | item,
|  | kMsgQueueItemOption | options
| ) |  |

Adds an item to the queue with the specified options.

This method extends the behaviour of kMsgQueue_Add, with the addition of special option flags.

This method is thread-safe.

Parameters

  queue | Queue object.
  item | Item to be added.
  options | Bitset of item options.

Returns
  Operation status.

See also
  kMsgQueue_Add