al_run_detached_thread(3alleg5)
β¨ NAME β¨
al_run_detached_thread β Allegro 5 API π this page is al_run_detached_thread(3alleg5), bestie, and it's literally the detached-thread girlie of the Allegro 5 API π
π SYNOPSIS π
#include <allegro5/allegro.h>
void al_run_detached_thread(void *(*proc)(void *arg), void *arg)
π DESCRIPTION π
okay so al_run_detached_thread runs the function you pass in its own thread, with arg passed to it as only parameter β¨
it's similar to calling al_create_thread(3alleg5), al_start_thread(3alleg5) and (after the thread has finished) al_destroy_thread(3alleg5) β but you donβt have the possibility of ever calling al_join_thread(3alleg5) on the thread π
so like, no join for you, bestie β that's the whole detached vibe, periodt π«Ά
source/version: Allegro reference manual, page al_run_detached_thread(3alleg5) πΈ date: the original footer didn't include one, so I'm not inventing it, no cap π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms