Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

futex2_waitone

Public Struct
std.os.linux.futex2_waitone
pub const futex2_waitone = extern struct

For futex2_waitv and futex2_requeue. Arrays of futex2_waitone allow waiting on multiple futexes in one call.

Fields

val: u64

Expected value at uaddr, should match size of futex.

uaddr: u64

User address to wait on. Top-bits must be 0 on 32-bit.

flags: FUTEX2_FLAGS

Flags for this waiter.

__reserved: u32 = 0

Reserved member to preserve alignment.

File

os/linux.zig:10895
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
pub const futex2_waitone = extern struct {
    /// Expected value at uaddr, should match size of futex.
    val: u64,
    /// User address to wait on.  Top-bits must be 0 on 32-bit.
    uaddr: u64,
    /// Flags for this waiter.
    flags: FUTEX2_FLAGS,
    /// Reserved member to preserve alignment.
    __reserved: u32 = 0,
}