Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Consumes a message previously offered by the join messaging block and reserved by the target, transferring ownership to the caller.
virtual message<_OutputType> * consume_message(
runtime_object_identity _MsgId
);
Parameters
- _MsgId
The runtime_object_identity of the message object being consumed.
Return Value
A pointer to the message object that the caller now has ownership of.
Remarks
Similar to accept, but is always preceded by a call to reserve.
Requirements
Header: agents.h
Namespace: concurrency