target_block::wait_for_async_sends Method

Waits for all asynchronous propagations to complete.

void wait_for_async_sends();

Remarks

This method is used by message block destructors to ensure all asynchronous operations have had time to finish before destroying the block.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

target_block Class