1al_run_detached_thread(3) Library Functions Manual al_run_detached_thread(3)
2
3
4
6 al_run_detached_thread
7
9 #include <allegro5/allegro.h>
10
11 void al_run_detached_thread(void *(*proc)(void *arg), void *arg)
12
14 Runs the passed function in its own thread, with arg passed to it as
15 only parameter. This is similar to calling al_create_thread(3),
16 al_start_thread(3) and (after the thread has finished)
17 al_destroy_thread(3) - but you don't have the possibility of ever call‐
18 ing al_join_thread(3) on the thread any longer.
19
20
21
22Allegro reference manual al_run_detached_thread(3)