File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -837,13 +837,16 @@ FUTEX_OP_OPARG_SHIFT
837837FUTEX_OP_OR
838838FUTEX_OP_SET
839839FUTEX_OP_XOR
840+ FUTEX_OWNER_DIED
840841FUTEX_PRIVATE_FLAG
841842FUTEX_REQUEUE
843+ FUTEX_TID_MASK
842844FUTEX_TRYLOCK_PI
843845FUTEX_UNLOCK_PI
844846FUTEX_WAIT
845847FUTEX_WAIT_BITSET
846848FUTEX_WAIT_REQUEUE_PI
849+ FUTEX_WAITERS
847850FUTEX_WAKE
848851FUTEX_WAKE_BITSET
849852FUTEX_WAKE_OP
Original file line number Diff line number Diff line change @@ -4607,6 +4607,7 @@ pub const FAN_NOFD: ::c_int = -1;
46074607pub const FAN_NOPIDFD : :: c_int = FAN_NOFD ;
46084608pub const FAN_EPIDFD : :: c_int = -2 ;
46094609
4610+ // linux/futex.h
46104611pub const FUTEX_WAIT : :: c_int = 0 ;
46114612pub const FUTEX_WAKE : :: c_int = 1 ;
46124613pub const FUTEX_FD : :: c_int = 2 ;
@@ -4626,6 +4627,10 @@ pub const FUTEX_PRIVATE_FLAG: ::c_int = 128;
46264627pub const FUTEX_CLOCK_REALTIME : :: c_int = 256 ;
46274628pub const FUTEX_CMD_MASK : :: c_int = !( FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME ) ;
46284629
4630+ pub const FUTEX_WAITERS : u32 = 0x80000000 ;
4631+ pub const FUTEX_OWNER_DIED : u32 = 0x40000000 ;
4632+ pub const FUTEX_TID_MASK : u32 = 0x3fffffff ;
4633+
46294634pub const FUTEX_BITSET_MATCH_ANY : :: c_int = 0xffffffff ;
46304635
46314636pub const FUTEX_OP_SET : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments