共用方式為


choice::release_ref Method

Releases a reference count on this choice messaging block.

virtual void release_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 unlinked from this source. The source block is allowed to release any resources reserved for the target block.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

choice Class