summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorgustavo <gustavo>1999-08-22 23:31:21 +0000
committergustavo <gustavo>1999-08-22 23:31:21 +0000
commit138c7287b24c52ac93f03d177a2d9c5d335d8481 (patch)
tree90b0b98936fb5fe862d9f7c56684068a2defa3f8 /makefiles
parent1706466f04e464ca53159dfad696d481dca3ec4c (diff)
Changed call_timeouts() and Fl::wait()/wait(double). The wait functions will now return immediately (do fl_wait(0,0)) if any timeouts were called in call_timeouts(). Motivation: An event loop like
while (work_to_do) { work_some(); Fl::check(); } else { Fl::wait(); } Suppose that a timeout sets the work_to_do flag, which is initially cleared. Fl::wait() will wait for this timeout, return, then expire the timeout and wait for user input. With the fix, it will work as expected. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'makefiles')
0 files changed, 0 insertions, 0 deletions