Boost logo

Boost :

From: BRIDGES Dick (Dick.Bridges_at_[hidden])
Date: 2005-09-28 18:13:58


I'm performing an async_wait() on a deadline_timer. Based upon some
independent event (e.g., a keystroke) I want to [re]set the timer and,
if it was expired, 'fire' an event indicating that the system has
changed state from not_running to running.

Maybe I'm missing something obvious, but it seems that deadline_timer
should have a method to test whether or not the timer had expired (i.e.,
bool expired() ).

BTW: This library is a joy. When does the review period start? ;)

Regards,
Dick Bridges


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk