Boost logo

Boost :

Subject: [boost] [asio] global timer cancellation?
From: Brian and Victoria (bnv_at_[hidden])
Date: 2009-03-19 07:26:34


I've got various objects that make use of the asio deadline timer to
schedule events. The problem is that there isn't a central repository
of timer references that I can walk to cancel them when shutting down
asio. I'd like to be able to just tell asio to cancel any pending work
and have the thread(s) return. Is this possible? I came across the
io_service::work class but haven't yet found an example of how it works.


Boost list run by bdawes at, gregod at, cpdaniel at, john at