Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

io_context::basic_executor_type::on_work_started

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.


PrevUpHomeNext