Struct io_uring::opcode::FutexWaitV
source · pub struct FutexWaitV { /* private fields */ }
Expand description
Wait on multiple futexes.
Wait on multiple futexes at the same time. Futexes are given by futexv
and nr_futex
is
the number of futexes in that array. Unlike FutexWait
, the desired bitset mask and values
are passed in futexv
. flags
are currently unused and hence 0
must be passed.
Implementations§
source§impl FutexWaitV
impl FutexWaitV
pub fn new(futexv: *const FutexWaitV, nr_futex: u32) -> Self
sourcepub const CODE: u8 = 53u8
pub const CODE: u8 = 53u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub const fn flags(self, flags: u32) -> Self
pub fn build(self) -> Entry
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FutexWaitV
impl RefUnwindSafe for FutexWaitV
impl !Send for FutexWaitV
impl !Sync for FutexWaitV
impl Unpin for FutexWaitV
impl UnwindSafe for FutexWaitV
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more