summaryrefslogtreecommitdiff
path: root/makefiles/makeinclude.cygnus
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2000-06-18 00:38:41 +0000
committerBill Spitzak <spitzak@gmail.com>2000-06-18 00:38:41 +0000
commitbe106a097747ddd5c0e05e7662b66c8859d4aa12 (patch)
tree3abfa8b2f0e5e0bbab8253cfb50ab3f90957d282 /makefiles/makeinclude.cygnus
parent4dd096e7b52301663ddaa002984e10cb83d97b9a (diff)
Cleanup of the timeout and Fl::wait() code. This one calls the clock
function less than half as much, which resulted in a noticable improvement in a flip book program I was working on. The code looks nicer, too, and I am reasonably certain it works the same. Fl::wait(time) with a time greater than the system can handle (24.855 days on NT, the same on some Unix systems) will now act as though the time is infinity. Before it would do unpredictable things. "USE_POLL" now compiles and works, although it is disabled by default. poll() is an alternative to the Unix select() call which is available on Linux and Irix, but I don't know if it is faster, you can try it by editing config.h. I tried making the NT USE_ASYNC_SELECT code do translate/dispatch of the select events on the assumption (based on experience) that not doing this to every event gives NT fits. This appears to work but I'm not sure if it fixes anything. X version does not crash if Fl::wait() is called when the display is closed (it will not return unless you have a timeout or fd callback set up, though). Fixed up the documentation for all of this, including getting rid of some completely misleading documentation. Now I need to get this stuff into 2.0... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'makefiles/makeinclude.cygnus')
0 files changed, 0 insertions, 0 deletions