aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorPat Tullmann <pat.github@tullmann.org>2025-04-02 16:21:23 -0700
committerPat Tullmann <pat.github@tullmann.org>2025-06-18 19:53:50 -0700
commit89d15a8d47fdfe41ae650e399d258de3184e6b4d (patch)
tree192370e0c48677cf653c65e657e5e441718c8632 /src/codegen.zig
parentcfe5defd025b79ade5f9243a7d6ebaad176cb6ad (diff)
downloadzig-89d15a8d47fdfe41ae650e399d258de3184e6b4d.tar.gz
zig-89d15a8d47fdfe41ae650e399d258de3184e6b4d.zip
linux: futex v2 API updates
* `futex2_waitv` always takes a 64-bit timespec. Perhaps the `kernel_timespec` should be renamed `timespec64`? Its used in iouring, too. * Add `packed struct` for futex v2 flags and parameters. * Add very basic "tests" for the futex v2 syscalls (just to ensure the code compiles). * Update the stale or broken comments. (I could also just delete these they're not really documenting Zig-specific behavior.) Given that the futex2 APIs are not used by Zig's library (they're a bit too new), and the fact that these are very specialized syscalls, and they currently provide no benefit over the existing v1 API, I wonder if instead of fixing these up, we should just replace them with a stub that says 'use a 3rd party library'.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions