diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-05-12 19:04:01 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-05-12 19:04:01 +0200 |
| commit | a7f382b431e6eed3f180c71d4175970da096eab9 (patch) | |
| tree | 0099dba56efe2eb24d82481ed6ea5294e7b4bfb9 /src/windows/thread.c | |
| parent | d4dbb9333666a2a0c752ecee49b4f70b8e4c1371 (diff) | |
work
Diffstat (limited to 'src/windows/thread.c')
| -rw-r--r-- | src/windows/thread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/windows/thread.c b/src/windows/thread.c index 9669158..fbf5209 100644 --- a/src/windows/thread.c +++ b/src/windows/thread.c @@ -58,6 +58,11 @@ u32 thread_get_id() return GetCurrentThreadId(); } +void thread_exit() +{ + ExitThread(0); +} + void thread_sleep(u64 microseconds) { Sleep(microseconds/1000); |
