summaryrefslogtreecommitdiff
path: root/src/windows/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/thread.c')
-rw-r--r--src/windows/thread.c5
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);