asio-tr2
asio-tr2 copied to clipboard
Discuss whether system_executor should provide a way to wait for outstanding tasks
Pre-Lenexa Summary
Currently the system_executor specification says:
If the program is terminated by any means, and there remain unexecuted functions objects that have been submitted using
postordefer, these function objects are discarded without calling them.
The question is whether the system_executor should provide some mechanism for waiting for the completion of all outstanding tasks, and if so what form this should take? For example, a static member function system_executor::join_all().