Remix.run Logo
ahoka 7 hours ago

It's called a futex and supported by both Linux and Windows since ages.

adwn 7 hours ago | parent [-]

The 1-byte-per-mutex parking_lot implementation works even on systems that don't provide a futex syscall or equivalent.