1SDL_CreateThread(3) SDL API Reference SDL_CreateThread(3)
2
3
4
6 SDL_CreateThread - Creates a new thread of execution that shares its
7 parent's properties.
8
10 #include "SDL.h" #include "SDL_thread.h"
11
12 SDL_Thread *SDL_CreateThread(int (*fn)(void *), void *data);
13
15 SDL_CreateThread creates a new thread of execution that shares all of
16 its parent's global memory, signal handlers, file descriptors, etc, and
17 runs the function fn passed the void pointer data The thread quits when
18 this function returns.
19
21 SDL_KillThread
22
23
24
25SDL Tue 11 Sep 2001, 23:00 SDL_CreateThread(3)