
5 May
2010
5 May
'10
8:57 p.m.
The flow is not clear. Your io_service goes out of work and run() exits, then you call Restart()? All this happens on the same thread? If so, try to move reset() to the beginning of the function. _______________________________________________
Thanks for the reply, Igor You spurred me to compile and test the example. Then I referred to the Boost online book: http://en.highscore.de/cpp/boost/ and the Asynch IO section. Now I have a better idea of how the asio timer works (the run() call blocks and needs to be fired up in a separate thread). - Bruce