Share via


ISource::release_ref Method

When overridden in a derived class, releases a reference count on this ISource block.

virtual void release_ref(
   ITarget<_Type> * _PTarget
) = 0;

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

ISource Class