source_block::acquire_ref 方法

获取此 source_block 对象上的引用计数,以防止删除。

virtual void acquire_ref(
   _Inout_ ITarget<_Target_type> *
);

备注

该方法由 ITarget 对象调用,该对象在 link_target 方法期间链接至该源。

要求

**标头:**agents.h

命名空间: 并发

请参见

参考

source_block 类