Re: [AD] minor fix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Peter Wang wrote:
Anyway, the goal is to call the callbacks at an average rate of 100 times per second.

Shouldn't the code just call it as fast as possible while still giving away the cpu after every iteration of the timers? Granted a method like that on most system will result in a rate of ~100 times per second, but it also seems that some linux kernels have the option to change the speed of the kernel timer frequency, so it may be possible to get more if it effects the scheduler as well (though I haven't tested this).

- Kitty Cat




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/