Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::asio - Can't get timeout on accept to work
From: Igor R (boost.lists_at_[hidden])
Date: 2010-02-18 10:32:06


> Since mytimer.async_wait woudl block, my understanding is that the timer would not be destroyed

async_XXX operations never block, that's why they're called asynchronous :).
You can use a blocking version: myTimer.wait(), if that's what you need.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net