Share via


join::reserve_message Method

Reserves a message previously offered by this join messaging block.

virtual bool reserve_message(
   runtime_object_identity _MsgId
);

Parameters

  • _MsgId
    The runtime_object_identity of the offered message object.

Return Value

true if the message was successfully reserved, false otherwise.

Remarks

After reserve is called, if it returns true, either consume or release must be called to either take or release ownership of the message.

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

join Class