Re: [AD] CPU yielding

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


On Tue, Dec 21, 1999 at 09:38:02PM +0100, Grzegorz Adam Hankiewicz wrote:
> Hey, post a message with an url to it. It will be good to see how you do
> the linux version, as you have pause, sleep, usleep, select (and who knows
> what more) and I still feel dizzy about which one should I use :-)

Actually, I use sched_yield if available, and select if not.
But the test program eats up as much CPU when yielding than when not.....
I'll try with another program actively working at the same time...
I'll post when it's done

-- 
Vincent Penquerc'h
Windows NT - New Trial



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