GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
extimer(3) Allegro manual extimer(3)

extimer - Using the timer (delays and interrupts). Allegro game programming library.

#include <allegro.h>

Example extimer

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.

END_OF_FUNCTION(3), END_OF_MAIN(3), LOCK_FUNCTION(3), LOCK_VARIABLE(3), SCREEN_W(3), allegro_error(3), allegro_init(3), allegro_message(3), clear_to_color(3), desktop_palette(3), font(3), install_int(3), install_int_ex(3), install_keyboard(3), install_timer(3), key(3), keypressed(3), makecol(3), readkey(3), rest(3), screen(3), set_gfx_mode(3), set_palette(3), textprintf_centre_ex(3)
version 4.4.3 Allegro

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.