source_block::wait_for_outstanding_async_sends Method

Waits for all asynchronous propagations to complete. This propagator-specific spin wait is used in destructors of message blocks to make sure that all asynchronous propagations have time to finish before destroying the block.

void wait_for_outstanding_async_sends();

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

source_block Class