diff --git a/asio/src/examples/tutorial/tutorial_dox.txt b/asio/src/examples/tutorial/tutorial_dox.txt index 4b9c78cb..9d652796 100644 --- a/asio/src/examples/tutorial/tutorial_dox.txt +++ b/asio/src/examples/tutorial/tutorial_dox.txt @@ -43,8 +43,8 @@ seconds from now. \until asio::timer Step 4. In this simple example we perform a blocking wait on the timer. -That is, the call to wait() will not return until the timer has expired, 5 -seconds after it was created. +That is, the call to asio::timer::wait() will not return until the timer has +expired, 5 seconds after it was created. \until wait @@ -83,12 +83,11 @@ asynchronous wait finishes. \until asio::timer -Step 2. Next, instead of doing a blocking wait as in Part 1, we -call the async_wait function to perform an asynchronous wait. When +Step 2. Next, instead of doing a blocking wait as in Part 1, we call +the asio::timer::async_wait() function to perform an asynchronous wait. When calling this function we pass the print callback handler that was defined above. - \skipline async_wait Step 3. Finally, we must call the asio::demuxer::run() member function @@ -155,8 +154,8 @@ more "work" to do. By not starting a new asynchronous wait on the timer when Step 3. Next we move the expiry time for the timer along by one second from the previous expiry time. Using the asio::timer::from_existing flag -instead of asio::timer::from_now ensures that the timer does drift away from -the whole-second mark due to any delays in processing the handler. +instead of asio::timer::from_now ensures that the timer does not drift away +from the whole-second mark due to any delays in processing the handler. \until set