pub(super) fn wait()
Expand description
Wait for atomic FD
to change value from FD_ONGOING_INIT
to something else.
Futex syscall with FUTEX_WAIT
op puts the current thread to sleep
until futex syscall with FUTEX_WAKE
op gets executed for FD
.
For more information read: https://www.man7.org/linux/man-pages/man2/futex.2.html