This documentation is archived and is not being maintained.

choice::acquire_ref Method

Acquires a reference count on this choice messaging block, to prevent deletion.

virtual void acquire_ref(
   ITarget<size_t> * _PTarget
);

_PTarget

A pointer to the target block that is calling this method.

This method is called by an ITarget object that is being linked to this source during the link_target method.

Header: agents.h

Namespace: Concurrency

Show: