- /**
- Checks all timers, executing any that have timed out. If block is true,
- waits until one times out.
+ /** Cancels a previously added timer. */
+ void cancel(Slot &);
+
+ /** Deprecated. Use one of the other overloads. */
+ void tick(bool block);
+
+ /** Waits until a timer expires, then executes it. If no timers have been
+ set, blocks until one is added from another thread. */
+ void tick();
+
+ /** Waits until a timer expires but at most the specified amount of time.
+ If a timer did expire before the timeout, it is executed. */
+ void tick(const TimeDelta &);