Re: [AD] yield_timeslice

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


Chris:
> Which IMO would be fine if there's no way for the system in question to
> properly idle the program via rest. It may not be able to give up the 
> CPU, but it's using as little of it as possible.

My point was that the #define you posted would make rest() recursive if
timer_driver::rest is NULL.

> On another note, Unix uses select() to yield. Surely it could use 
> select() to rest and idle as well?

I don't see why not.

Kind regards,
Daniel Schlyder
--
http://bitblaze.com/





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