Remove context.thread_id

This commit is contained in:
gingerBill
2021-06-08 15:57:00 +01:00
parent f19bb0f4d4
commit 8ec2ca9dcd
14 changed files with 58 additions and 32 deletions
+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,
}