Re: [AD] WIP 4.1.15 and CVS freeze

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


On Sun, 2004-07-25 at 22:19 +0200, Elias Pschernig wrote:
> On Fri, 2004-07-23 at 21:16 +0200, Elias Pschernig wrote:
> 
> > Well, there are no backwards compatibility problems with it - so that
> > would be unnecessary. Changing the parameter to unsigned just fixes the
> > problem of the undefined behavior with negative numbers. If others think
> > it shouldn't be done, I'll just put an ASSERT.
> > 
> 
> The attached patch is the same as the last, but I added in the
> YIELD_TIME constant, adjusted the GUI and examples to use it, and
> deprecated yield_timeslice.
> 
> Once it is applied, system_driver->yield_timeslice on BeOS/QNX/MacOSX
> should be adjusted to behave like on other systems (no waiting).
> 

Ok, just applied a modified patch. So now the yielding functionality
completely missing in 4.1.14 is back with rest(0), and rest is properly
implemented in unix, giving up CPU.

I didn't include that YIELD_TIME constant - so if Angelo can confirm it
is actually needed in OSX that should be added.

-- 
Elias Pschernig





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