DDraceNetwork Documentation
Loading...
Searching...
No Matches
thread.h
Go to the documentation of this file.
1/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2/* If you are missing that file, acquire a complete release at teeworlds.com. */
3
4#ifndef BASE_THREAD_H
5#define BASE_THREAD_H
6
15
27void *thread_init(void (*threadfunc)(void *), void *user, const char *name);
28
36void thread_wait(void *thread);
37
43void thread_yield();
44
54void thread_detach(void *thread);
55
65void thread_init_and_detach(void (*threadfunc)(void *), void *user, const char *name);
66
67#endif
void thread_wait(void *thread)
Definition thread.cpp:101
void * thread_init(void(*threadfunc)(void *), void *user, const char *name)
Definition thread.cpp:56
void thread_yield()
Definition thread.cpp:113
void thread_init_and_detach(void(*threadfunc)(void *), void *user, const char *name)
Definition thread.cpp:135
void thread_detach(void *thread)
Definition thread.cpp:124