Skip to content

Commit 1b9c7e6

Browse files
committed
Disable pthread thread parker on futex platforms.
1 parent c4c6914 commit 1b9c7e6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

library/std/src/sys/unix/thread_parker.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
#![cfg(not(any(
44
target_os = "linux",
55
target_os = "android",
6-
all(target_os = "emscripten", target_feature = "atomics")
6+
all(target_os = "emscripten", target_feature = "atomics"),
7+
target_os = "freebsd",
8+
target_os = "openbsd",
9+
target_os = "netbsd",
10+
target_os = "dragonfly",
711
)))]
812

913
use crate::cell::UnsafeCell;

0 commit comments

Comments
 (0)