1al_create_thread(3) al_create_thread(3)
2
3
4
6 al_create_thread - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_THREAD *al_create_thread(
12 void *(*proc)(ALLEGRO_THREAD *thread, void *arg), void *arg)
13
15 Spawn a new thread which begins executing proc. The new thread is
16 passed its own thread handle and the value arg.
17
18 Returns a pointer to the thread on success. Otherwise, returns NULL if
19 there was an error.
20
22 al_start_thread(3), al_join_thread(3).
23
24
25
26Allegro reference manual al_create_thread(3)