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.