Commit Graph

8 Commits

Author SHA1 Message Date
Laytan Laats
7a7d7560b6 os: remove sys/unix dep on Linux 2026-02-18 20:16:55 +01:00
Laytan Laats
e87e3fba1b os: remove process_close and add process_terminate
`process_wait` (optionally prefaced with a `process_kill`) can be used
to properly close and free resources of the process.

`process_terminate` was added because `process_kill` is a forceful
exit, we were missing a way to request the process to terminate.
2026-02-18 20:15:07 +01:00
Jeroen van Rijn
1a37f4eb0c Only count bits in touched array members. 2026-02-09 19:13:32 +01:00
Jeroen van Rijn
454ad1f4b8 Unwrap cpu affinity syscalls. 2026-02-09 19:01:43 +01:00
Jeroen van Rijn
fa44c64c42 != nil 2026-02-09 18:29:31 +01:00
Jeroen van Rijn
ec05bb57dc Implement get_processor_core_count without libc for Linux. 2026-02-09 18:16:16 +01:00
Jeroen van Rijn
8366e7094a Fix up ABI name for core:os and core:os/old 2026-02-09 16:27:53 +01:00
Jeroen van Rijn
e7dbabf668 core:os -> core:os/old && core:os/os2 -> core:os 2026-02-09 15:50:21 +01:00