I need my boost::asio::io_service object prevent from exiting when there is no more work to do. The boost.asio library version that we are using is outdated and we are not yet allowed to upgrade. The 1.57 version we are using seems not to contain the boost:asio::executor_work_guard that could prevent the io_service object from exiting.
Are there any known alternatives to it in the old boost.asio version 1.57 (Linux)?