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

NAME

6       LOCK_VARIABLE - Locks the memory of a variable used by a timer. Allegro
7       game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       Macro LOCK_VARIABLE(variable_name);
14

DESCRIPTION

16       Due to interrupts, you are required to lock all the memory used by your
17       timer  routines.  See  the  description  of install_int_ex() for a more
18       detailed explanation and usage example.
19
20

SEE ALSO

22       install_int(3),     install_int_ex(3),     exscn3d(3),     exsprite(3),
23       exswitch(3), extimer(3), exupdate(3), exzbuf(3)
24
25
26
27Allegro                          version 4.2.2                LOCK_VARIABLE(3)
Impressum