Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards



Inform the io_context that it has some outstanding work to do.

void on_work_started() const;

This function is used to inform the io_context that some work has begun. This ensures that the io_context's run() and run_one() functions do not exit while the work is underway.