1extimer(3)                      Allegro manual                      extimer(3)
2
3
4

NAME

6       extimer  -  Using  the timer (delays and interrupts). Allegro game pro‐
7       gramming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       Example extimer
14

DESCRIPTION

16       This program demonstrates how to use the timer routines.  These can  be
17       a  bit  of  a pain, because you have to be sure you lock all the memory
18       that is used inside your interrupt handlers.  The  first  part  of  the
19       example shows a basic use of timing using the blocking function rest().
20       The second part shows how to use three timers with  different  frequen‐
21       cies in a non blocking way.
22
23

SEE ALSO

25       END_OF_FUNCTION(3), END_OF_MAIN(3), LOCK_FUNCTION(3), LOCK_VARIABLE(3),
26       SCREEN_W(3),  allegro_error(3),  allegro_init(3),   allegro_message(3),
27       clear_to_color(3),    desktop_palette(3),    font(3),   install_int(3),
28       install_int_ex(3), install_keyboard(3), install_timer(3), key(3),  key‐
29       pressed(3),     makecol(3),     readkey(3),     rest(3),     screen(3),
30       set_gfx_mode(3), set_palette(3), textprintf_centre_ex(3)
31
32
33
34Allegro                          version 4.4.3                      extimer(3)
Impressum