Boost logo

Boost Users :

From: Igor R. (igor_rubinov_at_[hidden])
Date: 2008-05-08 04:32:04


Yes, you can, and it seems to work well (at least in 1.35).
Look at this example:
http://www.boost.org/doc/libs/1_35_0/doc/html/boost_asio/tutorial/tuttimer4.html

Date: Wed, 7 May 2008 16:56:30 -0700From: sharadmittal_at_yahoo.comTo: boost-users_at_lists.boost.orgSubject: [Boost-users] asio::deadline_timer irregular behavior after async_wait

Can asio::deadline_timer be "reused" after its original wait has been completed? I am seeing irregular behaviour around resetting already expired timers - sometimes they fail to function. I am resetting the timer by using expires_from_now method. (Boost 1.34.1 with asio 0.3.9)Thanks,Sharad
_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline



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