Initial commit of NetBSD port

This commit is contained in:
Andreas T Jonsson
2024-04-16 14:27:29 +02:00
parent 97db075e45
commit 4558f3992a
20 changed files with 1154 additions and 17 deletions
+9
View File
@@ -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()
}