DDNet 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
55
65void thread_detach(void *thread);
66
76void thread_init_and_detach(void (*threadfunc)(void *), void *user, const char *name);
77
78#endif
void thread_wait(void *thread)
Definition thread.cpp:115
void thread_request_precise_wakeups()
Definition thread.cpp:152
void * thread_init(void(*threadfunc)(void *), void *u, const char *name)
Definition thread.cpp:70
void thread_yield()
Definition thread.cpp:141
void thread_init_and_detach(void(*threadfunc)(void *), void *u, const char *name)
Definition thread.cpp:174
void thread_detach(void *thread)
Definition thread.cpp:163