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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
basic_waitable_timer::wait (2 of 2 overloads)

Perform a blocking wait on the timer.

void wait(
    boost::system::error_code & ec);

This function is used to wait for the timer to expire. This function blocks and does not return until the timer has expired.

Parameters

ec

Set to indicate what error occurred, if any.


PrevUpHomeNext