Disable pthread thread parker on futex platforms.

This commit is contained in:
Mara Bos 2022-04-29 16:45:01 +02:00
parent c4c69143a9
commit 1b9c7e6f1a

View File

@ -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;