std: move thread parking to sys::sync

This commit is contained in:
joboet 2024-04-23 11:49:37 +02:00
parent fcc06c894b
commit a56fd370fc
No known key found for this signature in database
GPG key ID: 704E0149B0194B3C
23 changed files with 25 additions and 57 deletions

View file

@ -174,8 +174,8 @@ use crate::ptr::addr_of_mut;
use crate::str;
use crate::sync::atomic::{AtomicUsize, Ordering};
use crate::sync::Arc;
use crate::sys::sync::Parker;
use crate::sys::thread as imp;
use crate::sys_common::thread_parking::Parker;
use crate::sys_common::{AsInner, IntoInner};
use crate::time::{Duration, Instant};