1al_iphone_program_has_haltedL(i3b)rary Functions Manaula_liphone_program_has_halted(3)
2
3
4

NAME

6       al_iphone_program_has_halted
7

SYNOPSIS

9              #include <allegro5/allegro_iphone.h>
10
11              void al_iphone_program_has_halted(void)
12

DESCRIPTION

14       Multitasking  on  iOS  is  different  than on other platforms.  When an
15       application  receives  an  ALLEGRO_DISPLAY_SWITCH_OUT  or  ALLEGRO_DIS‐
16       PLAY_CLOSE  event on a multitasking-capable device, it should cease all
17       activity and do nothing  but  check  for  an  ALLEGRO_DISPLAY_SWITCH_IN
18       event.   To let the iPhone driver know that you've ceased all activity,
19       call this function.  You should call  this  function  very  soon  after
20       receiving  the event telling you it's time to switch out (within a cou‐
21       ple milliseconds).  Certain operations, if done, will crash the program
22       after  this  call,  most  notably any function which uses OpenGL.  This
23       function is needed because the “switch out”  handler  on  iPhone  can't
24       return  until  these  operations  have stopped, or a crash as described
25       before can happen.
26
27
28
29Allegro reference manual                       al_iphone_program_has_halted(3)
Impressum