diff options
| author | flysand7 <yyakut.ac@gmail.com> | 2023-10-18 01:57:26 +1100 |
|---|---|---|
| committer | flysand7 <yyakut.ac@gmail.com> | 2023-10-27 10:51:21 +1100 |
| commit | 4d65b1ab9cb86bcbbfb0e5b26e3552f6f3582004 (patch) | |
| tree | b61fb2dbcfe8fbd8574cbda546c27ed91e49d44a /core/sync/primitives_linux.odin | |
| parent | 8e4bdcfb9837d70e94634db02e79a06036a3dde7 (diff) | |
Implement new sys/unix package
Diffstat (limited to 'core/sync/primitives_linux.odin')
| -rw-r--r-- | core/sync/primitives_linux.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sync/primitives_linux.odin b/core/sync/primitives_linux.odin index 1e75891df..aa7a8b4b2 100644 --- a/core/sync/primitives_linux.odin +++ b/core/sync/primitives_linux.odin @@ -2,8 +2,8 @@ //+private package sync -import "core:sys/unix" +import "core:sys/linux" _current_thread_id :: proc "contextless" () -> int { - return unix.sys_gettid() + return cast(int) linux.gettid() } |