mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Initial commit of NetBSD port
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
//+build netbsd
|
||||
//+private
|
||||
package sync
|
||||
|
||||
import "core:sys/unix"
|
||||
|
||||
_current_thread_id :: proc "contextless" () -> int {
|
||||
return cast(int) unix.pthread_self()
|
||||
}
|
||||
Reference in New Issue
Block a user