primitives_linux.odin 145 B

123456789
  1. //+build linux
  2. //+private
  3. package sync
  4. import "core:sys/unix"
  5. _current_thread_id :: proc "contextless" () -> int {
  6. return unix.sys_gettid()
  7. }