Re: [AD] test rest

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


On Wed, 2006-05-03 at 20:35 +0100, Milan Mimica wrote:
> Chris wrote:
> > 
> > rest(1) is enough to drop CPU usage and give time to for the input thread to 
> > run. 50 just seems unnecessarilly long.
> 
> rest(1) will wait about 20 ms anyway.

Only under OSX, Windows 98, or Linux kernels who set it to that. E.g. my
Linux kernel here, or AFAIK Windows XP, use 1ms.

> I don't mind, change it if as you 
> like.

I noticed no problems with 50ms, but we use rest(1) everywhere, so I
changed it.

-- 
Elias Pschernig





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