From a7f382b431e6eed3f180c71d4175970da096eab9 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Tue, 12 May 2020 19:04:01 +0200 Subject: work --- src/windows/thread.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/windows/thread.c') 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); -- cgit v1.2.3-70-g09d2