Re: [AD] minor fix

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


Chris wrote:

Here's a patch (made from the 4.1.14 source) that times the loop using the usecs directly instead of trying to convert to TIMERS_PER_SEC, sleeps as little as 1ms between tests (where available), and as well can handle a pause in the process for about an hour or so, when the microsecond time difference would overflow the unsigned long (the current code would suffer the same fate).


Yep, looks fine. If it tests alright, I don't have anything against it going into 4.1.x.

Peter





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