al_run_detached_thread

void al_run_detached_thread(void *(*proc)(void *arg), void *arg)
Introduced in 5.0.0

Runs the passed function in its own thread, with arg passed to it as only parameter. This is similar to calling al_create_thread, al_start_thread and (after the thread has finished) al_destroy_thread - but you don't have the possibility of ever calling al_join_thread on the thread any longer.


Most helpful discussions: