Skip to content

Commit

Permalink
Disable pthread thread parker on futex platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Apr 29, 2022
1 parent c4c6914 commit 1b9c7e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion library/std/src/sys/unix/thread_parker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
#![cfg(not(any(
target_os = "linux",
target_os = "android",
all(target_os = "emscripten", target_feature = "atomics")
all(target_os = "emscripten", target_feature = "atomics"),
target_os = "freebsd",
target_os = "openbsd",
target_os = "netbsd",
target_os = "dragonfly",
)))]

use crate::cell::UnsafeCell;
Expand Down

0 comments on commit 1b9c7e6

Please sign in to comment.