]> git.proxmox.com Git - rustc.git/blobdiff - library/std/src/sys_common/thread_parker/mod.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / library / std / src / sys_common / thread_parker / mod.rs
index 7e8bfb2565e454ca27b748e069ad51f3381e6f5d..cbd7832eb7a4c8e0a1cc932a3463d6c6d1249da1 100644 (file)
@@ -10,9 +10,10 @@ cfg_if::cfg_if! {
     ))] {
         mod futex;
         pub use futex::Parker;
-    } else if #[cfg(windows)] {
-        pub use crate::sys::thread_parker::Parker;
-    } else if #[cfg(target_family = "unix")] {
+    } else if #[cfg(target_os = "solid_asp3")] {
+        mod wait_flag;
+        pub use wait_flag::Parker;
+    } else if #[cfg(any(windows, target_family = "unix"))] {
         pub use crate::sys::thread_parker::Parker;
     } else {
         mod generic;