LOCK_FUNCTION(3alleg4) | Allegro manual | LOCK_FUNCTION(3alleg4) |
LOCK_FUNCTION - Locks the memory of a function used by a timer. Allegro game programming library.
#include <allegro.h>
Macro LOCK_FUNCTION(function_name);
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.
install_int(3alleg4), install_int_ex(3alleg4), exkeys(3alleg4), exscn3d(3alleg4), exsprite(3alleg4), exswitch(3alleg4), extimer(3alleg4), exupdate(3alleg4), exzbuf(3alleg4)
version 4.4.2 | Allegro |