Share via


choice::acquire_ref Method

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

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

Parameters

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

Remarks

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

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

choice Class