Fix context initialization

This commit is contained in:
gingerBill
2018-10-20 16:34:56 +01:00
parent 099995e7dd
commit ce2e23849e
7 changed files with 28 additions and 31 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ exit :: proc(code: int) -> ! {
_unix_exit(code);
}
current_thread_id :: proc() -> int {
current_thread_id :: proc "contextless" () -> int {
// return int(_unix_gettid());
return 0;
}