.\" Generated by the Allegro makedoc utility .TH extimer 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME extimer \- Using the timer (delays and interrupts). Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B Example extimer .SH DESCRIPTION This program demonstrates how to use the timer routines. These can be a bit of a pain, because you have to be sure you lock all the memory that is used inside your interrupt handlers. The first part of the example shows a basic use of timing using the blocking function rest(). The second part shows how to use three timers with different frequencies in a non blocking way. .SH SEE ALSO .BR END_OF_FUNCTION (3alleg4), .BR END_OF_MAIN (3alleg4), .BR LOCK_FUNCTION (3alleg4), .BR LOCK_VARIABLE (3alleg4), .BR SCREEN_W (3alleg4), .BR allegro_error (3alleg4), .BR allegro_init (3alleg4), .BR allegro_message (3alleg4), .BR clear_to_color (3alleg4), .BR desktop_palette (3alleg4), .BR font (3alleg4), .BR install_int (3alleg4), .BR install_int_ex (3alleg4), .BR install_keyboard (3alleg4), .BR install_timer (3alleg4), .BR key (3alleg4), .BR keypressed (3alleg4), .BR makecol (3alleg4), .BR readkey (3alleg4), .BR rest (3alleg4), .BR screen (3alleg4), .BR set_gfx_mode (3alleg4), .BR set_palette (3alleg4), .BR textprintf_centre_ex (3alleg4)