Boost C++ Libraries

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

This is an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext
io_service::work::work (1 of 2 overloads)

Constructor notifies the io_service that work is starting.

work(
    boost::asio::io_service & io_service);

The constructor is used to inform the io_service that some work has begun. This ensures that the io_service object's run() function will not exit while the work is underway.


PrevUpHomeNext