LOCK_FUNCTION(3)
π NAME π
LOCK_FUNCTION β locks the memory of a function used by a timer. This is from the Allegro manual, section 3, and it's part of the Allegro game programming library. No cap. β¨
β¨ SYNOPSIS β¨
okay so the synopsis is giving very minimal, very iconic:
#include <allegro.h>
Macro LOCK_FUNCTION(function_name);
πΈ DESCRIPTION πΈ
okay bestie, here's the tea: due to interrupts, you are required to lock all the memory used by your timer routines. That's not a suggestion, that's the rule. π
for a more detailed explanation and a usage example, go read the description of install_int_ex(). π«Ά
π¦ SEE ALSO π¦
the girls that reference each other:
install_int(3)install_int_ex(3)exkeys(3)exscn3d(3)exsprite(3)exswitch(3)extimer(3)exupdate(3)exzbuf(3)
mwah π this was Allegro version 4.4.3, and yes, you just read the LOCK_FUNCTION(3) page. periodt. π«Ά
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms