Remove context.thread_id

This commit is contained in:
gingerBill committed 2021-06-08 15:57:00 +01:00
1 parent f19bb0f4d4
commit 8ec2ca9dcd
14 files changed
+58 -32

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ package sync2
import "core:time"
import win32 "core:sys/windows"
_current_thread_id :: proc "contextless" () -> int {
return int(win32.GetCurrentThreadId());
}
_Mutex :: struct {
srwlock: win32.SRWLOCK,
}