DDNet documentation
Toggle main menu visibility
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
27
void
*
thread_init
(
void
(*threadfunc)(
void
*),
void
*user,
const
char
*name);
28
36
void
thread_wait
(
void
*thread);
37
43
void
thread_yield
();
44
54
void
thread_request_precise_wakeups
();
55
65
void
thread_detach
(
void
*thread);
66
76
void
thread_init_and_detach
(
void
(*threadfunc)(
void
*),
void
*user,
const
char
*name);
77
78
#endif
thread_wait
void thread_wait(void *thread)
Definition
thread.cpp:115
thread_request_precise_wakeups
void thread_request_precise_wakeups()
Definition
thread.cpp:152
thread_init
void * thread_init(void(*threadfunc)(void *), void *u, const char *name)
Definition
thread.cpp:70
thread_yield
void thread_yield()
Definition
thread.cpp:141
thread_init_and_detach
void thread_init_and_detach(void(*threadfunc)(void *), void *u, const char *name)
Definition
thread.cpp:174
thread_detach
void thread_detach(void *thread)
Definition
thread.cpp:163
src
base
thread.h
Generated by
1.18.0