LOCK_VARIABLE man page

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(3), install_int_ex(3), exscn3d(3), exsprite(3), exswitch(3), extimer(3), exupdate(3), exzbuf(3)

Referenced By

exscn3d(3), exsprite(3), exswitch(3), extimer(3), exupdate(3), exzbuf(3).

version 4.4.2 Allegro Allegro manual