Function rustix::thread::futex::fd

source ·
pub fn fd(uaddr: &AtomicU32, flags: Flags, val: u32) -> Result<OwnedFd>
Expand description

Equivalent to syscall(SYS_futex, uaddr, FUTEX_FD, val, NULL, NULL, 0)

This is a very low-level feature for implementing synchronization primitives. See the references links.

§References