Skip to content

Commit 654cc69

Browse files
committed
Add FUTEX_LOCK_PI2 on Linux
1 parent d9eb957 commit 654cc69

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ FUTEX_CMP_REQUEUE
599599
FUTEX_CMP_REQUEUE_PI
600600
FUTEX_FD
601601
FUTEX_LOCK_PI
602+
FUTEX_LOCK_PI2
602603
FUTEX_PRIVATE_FLAG
603604
FUTEX_REQUEUE
604605
FUTEX_TRYLOCK_PI

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3074,6 +3074,7 @@ pub const FUTEX_WAIT_BITSET: ::c_int = 9;
30743074
pub const FUTEX_WAKE_BITSET: ::c_int = 10;
30753075
pub const FUTEX_WAIT_REQUEUE_PI: ::c_int = 11;
30763076
pub const FUTEX_CMP_REQUEUE_PI: ::c_int = 12;
3077+
pub const FUTEX_LOCK_PI2: ::c_int = 13;
30773078

30783079
pub const FUTEX_PRIVATE_FLAG: ::c_int = 128;
30793080
pub const FUTEX_CLOCK_REALTIME: ::c_int = 256;

0 commit comments

Comments
 (0)