1al_create_thread_with_stacksize(3) al_create_thread_with_stacksize(3)
2
3
4
6 al_create_thread_with_stacksize - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_THREAD *al_create_thread_with_stacksize(
12 void *(*proc)(ALLEGRO_THREAD *thread, void *arg), void *arg, size_t stacksize)
13
15 Spawn a new thread with the give stacksize in bytes which begins exe‐
16 cuting proc. The new thread is passed its own thread handle and the
17 value arg.
18
19 Returns a pointer to the thread on success. Otherwise, returns NULL if
20 there was an error.
21
23 5.2.5
24
25 [Unstable API]: New API, may want a better way to specify thread
26 options.
27
29 al_start_thread(3), al_join_thread(3).
30
31
32
33Allegro reference manual al_create_thread_with_stacksize(3)