IPC API  3.10.01.11
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MessageQ_Params2 Struct Reference

Structure defining parameters for MessageQ_create2(). More...

#include <MessageQ.h>

Collaboration diagram for MessageQ_Params2:
Collaboration graph

Data Fields

Void * synchronizer
MessageQ_QueueIndex queueIndex

Detailed Description

Structure defining parameters for MessageQ_create2().

MessageQ_Params2 is a superset of MessageQ_Params. It is used with MessageQ_create2().


Field Documentation

Void* MessageQ_Params2::synchronizer

Synchronizer instance used to signal IO completion

   The synchronizer is used in MessageQ_put() and MessageQ_get().
   The synchronizer signal is called as part of MessageQ_put().
   The synchronizer waits in MessageQ_get() if there are no messages
   present.
MessageQ_QueueIndex MessageQ_Params2::queueIndex

Value used to specify the index in the MessageQ array

    This parameter allows an application to specify a queueIndex to
    be used for a message queue. To use this functionality, the
    MessageQ.numReservedEntries static configuration parameter must be
    set to one more than the highest requested queueIndex. The
    MessageQ.numReservedEntries parameter reserves that number of
    message queue slots starting at 0 and proceeding to
    (MessageQ.numReservedEntries - 1).

    The default is MessageQ_ANY, which means it is not taken from the
    reserved slots.

The documentation for this struct was generated from the following file:
Copyright 2013, Texas Instruments Incorporated