message::add_ref Method

Adds to the reference count for the message object. Used for message blocks that need reference counting to determine message lifetimes.

long add_ref();

Return Value

The new value of the reference count.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

message Class