LOCK_VARIABLE.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

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

SYNOPSIS

#include <allegro.h>

Macro LOCK_VARIABLE(variable_name);

DESCRIPTION

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

SEE ALSO

install_int(3alleg), install_int_ex(3alleg), exscn3d(3alleg), exsprite(3alleg), exswitch(3alleg), extimer(3alleg), exupdate(3alleg), exzbuf(3alleg)