diff options
| author | Brandon Black <bblack@wikimedia.org> | 2025-08-19 14:57:41 -0500 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-08-20 23:38:45 +0200 |
| commit | 8248597a2726663a89e31896f0e9751db5b9db82 (patch) | |
| tree | f7d70d0dadad659f801a5c75b40e85a6513f7c51 /lib/std/Thread.zig | |
| parent | 172e97154de214fd3f4ecf1753382fb687f9b4ab (diff) | |
| download | zig-8248597a2726663a89e31896f0e9751db5b9db82.tar.gz zig-8248597a2726663a89e31896f0e9751db5b9db82.zip | |
Add mlock syscalls to std.c and std.posix
Linux already gained the relevant syscalls and consts in #24473
The basic mlock() and munlock() are fairly universal across the
*nix world with a consistent interface, but are missing on wasi
and windows.
The mlockall() and munlockall() calls are not as widely supported
as the basic ones. Notable non-implementers include darwin,
haiku, and serenity (and of course wasi and windows again).
mlock2() is Linux-only, as are its MLOCK flags.
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions
