mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 03:40:08 +00:00
Replace sync with sync2
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
//+build linux
|
||||
//+private
|
||||
package sync2
|
||||
|
||||
import "core:sys/unix"
|
||||
|
||||
_current_thread_id :: proc "contextless" () -> int {
|
||||
return unix.sys_gettid()
|
||||
}
|
||||
Reference in New Issue
Block a user