al_destroy_thread(3)
al_destroy_thread(3) π
okay bestie, welcome to the Library Functions Manual corner where we're talking about al_destroy_thread(3) β yes, the thread-cleanup icon itself. β¨
SYNOPSIS
#include <allegro5/allegro.h>
void al_destroy_thread(ALLEGRO_THREAD *thread)
DESCRIPTION
So al_destroy_thread is literally the βfree the resources used by a threadβ girlie. It cleans up after thread, and if that hasnβt been done already, it implicitly performs al_join_thread(3) on the thread for you. No cap. π«Ά
Also super important: if thread is NULL, this function does nothing. Like, absolutely nothing. Just the do-nothing vibe, periodt. π
SEE ALSO
al_join_thread(3)β the join bestie this one handles implicitly, iykyk πΈ
mwah π this little page came from the Allegro reference manual β no date or version number was sitting in the footer, so thatβs all I got, bestie. al_destroy_thread(3) out! π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms