Re: [AD] Last iphone patch

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


On December 3, 2010, Peter Wang wrote:
> On 2010-12-03, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> > I think it may be a good idea to include revision 13973 in 5.0.
> > It's a fairly minor change, it just adds two functions. The
> > multitasking function (al_iphone_program_has_halted) is necessary,
> > you can't get an app into the App Store these days withoutout it
> > AFAIK.
> 
> The function description seems to suggest that you should call
> al_iphone_program_has_halted and then wait for ALLEGRO_DISPLAY_SWITCH_IN
> in response to ALLEGRO_DISPLAY_CLOSE.
> 
> Consider adding al_rest() to the busy wait in
> applicationDidEnterBackground: - the user may be busy with something,
> and the busy wait will only take away more CPU time.

If that really is an issue, a mutex or condition variable might be a better 
choice. Especially on a portable device.

> The Function: markers for documentation are missing.
> 
> Peter
> 
> 
------------------------------------------------------------------------------
> Oracle to DB2 Conversion Guide: Compatibility Made Easier than Ever Before
> New IBM DB2 features make compatibility easy. In this guide, you'll learn 
> about native support for PL/SQL, new data types, scalar functions, improved 
> concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best 
> 


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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