]> git.mxchange.org Git - flightgear.git/commit
Updated hybrid of original busy-wait frame rate throttling loop combined with
authorcurt <curt>
Wed, 9 Mar 2005 21:56:00 +0000 (21:56 +0000)
committercurt <curt>
Wed, 9 Mar 2005 21:56:00 +0000 (21:56 +0000)
commit2e308fe928a89b1d27de841ccd0ad2b5651f3817
treea9dc5ce7eac623898383fae8ec433956af395e10
parentd1168b493ac0b6295d45826c19634c7d784cd728
Updated hybrid of original busy-wait frame rate throttling loop combined with
a safe undersleep() to conserve cpu.  Essentially we undersleep our target by
just a bit (to avoid the chance of oversleeping.)  Then we finish off the
remaining time slice with a busy-wait loop.
src/Main/main.cxx