Share via


source_block::release_ref Method

Releases a reference count on this source_block object.

virtual void release_ref(
   _Inout_ ITarget<_Target_type> * _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

source_block Class