man END_OF_FUNCTION () - Locks the code used by a timer. Allegro game programming library.
NAME
END_OF_FUNCTION - Locks the code used by a timer. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Macro END_OF_FUNCTION(function_name);
DESCRIPTION
Due to interrupts, you are required to lock all the code used by your timer routines. See the description of install_int_ex() for a more detailed explanation and usage example.