Function rustix::thread::futex::trylock_pi
source · pub fn trylock_pi(uaddr: &AtomicU32, flags: Flags) -> Result<bool>
Expand description
Equivalent to syscall(SYS_futex, uaddr, FUTEX_TRYLOCK_PI, 0, NULL, NULL, 0)
This is a very low-level feature for implementing synchronization primitives. See the references links.