diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2022-04-28 12:22:14 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2022-04-29 16:45:17 +0200 |
| commit | 04b0bc97bb84915f2487743b7dde7993ddb34e5d (patch) | |
| tree | 490ccb048c9dce0eb555e6a4a56ad9bfc075bf05 /library/std/src/sys_common | |
| parent | 69f0bcb26def1bccdf3774fc487201258b746fca (diff) | |
| download | rust-04b0bc97bb84915f2487743b7dde7993ddb34e5d.tar.gz rust-04b0bc97bb84915f2487743b7dde7993ddb34e5d.zip | |
Use futex-based locks and thread parker on FreeBSD.
Diffstat (limited to 'library/std/src/sys_common')
| -rw-r--r-- | library/std/src/sys_common/thread_parker/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys_common/thread_parker/mod.rs b/library/std/src/sys_common/thread_parker/mod.rs index 7fd4d3610ca..5305f1f2dee 100644 --- a/library/std/src/sys_common/thread_parker/mod.rs +++ b/library/std/src/sys_common/thread_parker/mod.rs @@ -3,6 +3,7 @@ cfg_if::cfg_if! { target_os = "linux", target_os = "android", all(target_arch = "wasm32", target_feature = "atomics"), + target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", |
