summaryrefslogtreecommitdiff
path: root/otk/timerqueuemanager.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-07 19:24:38 +0000
committerDana Jansens <danakj@orodu.net>2003-01-07 19:24:38 +0000
commita2de94e91e1c0e7775c97745ae11d14e5c5f5659 (patch)
treefd69635008f02d4abad11c8f95fb1baf4db0dda3 /otk/timerqueuemanager.hh
parent6062fe404ce5f2505494132d5454370d696625ca (diff)
in synch mode, chew up 100% cpu, cuz we cant select on the display's fd
Diffstat (limited to 'otk/timerqueuemanager.hh')
-rw-r--r--otk/timerqueuemanager.hh7
1 files changed, 4 insertions, 3 deletions
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
/*!