LOCK_FUNCTION(3alleg4)
π NAME π
okay so bestie, we're in the Allegro manual, section 3alleg4, and the main character is LOCK_FUNCTION.
LOCK_FUNCTION β locks the memory of a function used by a timer. Allegro game programming library. β¨
π SYNOPSIS π
#include <allegro.h>
Macro LOCK_FUNCTION(function_name);
β¨ DESCRIPTION β¨
bestie, because of interrupts, you are required to lock all the memory used by your timer routines. no cap. The description of install_int_ex() is where the more detailed explanation and usage example live β go check it, fr fr. π«Ά
π SEE ALSO π
install_int(3alleg4)install_int_ex(3alleg4)exkeys(3alleg4)exscn3d(3alleg4)exsprite(3alleg4)exswitch(3alleg4)extimer(3alleg4)exupdate(3alleg4)exzbuf(3alleg4)
Allegro manual, version 4.4.3 β that's the source/version tea, and the footer didn't give a date, so no invented date here, bestie. π π¦π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms