From a2de94e91e1c0e7775c97745ae11d14e5c5f5659 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 7 Jan 2003 19:24:38 +0000 Subject: in synch mode, chew up 100% cpu, cuz we cant select on the display's fd --- otk/timerqueuemanager.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'otk/timerqueuemanager.hh') diff --git a/otk/timerqueuemanager.hh b/otk/timerqueuemanager.hh index 48e15e5b..af81ecfe 100644 --- a/otk/timerqueuemanager.hh +++ b/otk/timerqueuemanager.hh @@ -22,11 +22,12 @@ public: //! Destroys the OBTimerQueueManager virtual ~OBTimerQueueManager() {} - //! Will wait for and fire the next timer in the queue. + //! Fire the next timer in the queue. /*! - The function will stop waiting if an event is received from the X server. + @param wait If true, this function will wait for the next timer, breaking + on any events from the X server. */ - virtual void fire(); + virtual void fire(bool wait = true); //! Adds a new timer to the queue /*! -- cgit v1.2.3