ec_message_rsrc_state — This will return a state hint of a given resource
int **ec_message_rsrc_state** ( | message, | |
| | name
); | |
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
This will return a state hint of a given resource.
Any given resource may be in the following states:
EC_MESSAGE_RSRC_NONE: No resource with the provided name exists for message.
EC_MESSAGE_RSRC_MEMORY: The I/O object currently associated with the resource identified with name is guaranteed to be wait-free (informally).
EC_MESSAGE_RSRC_BLOCKING: The I/O object currently associated with the resource identified with name may block.
EC_MESSAGE_RSRC_PENDING: An I/O object for the given resource may be available, actual resolution is pending an ec_message_rsrc_get. A get operation is guaranteed to block.
EC_MESSAGE_RSRC_DELETED: The resource is pending deletion.
the message the resource is associated with
the name of the resource
Returns current state of the resource.
**Configuration Change. ** This feature is available starting from Momentum 3.1.