Move thread parker to sys_common.
This commit is contained in:
parent
4301b5c1cc
commit
0b73fd7105
@ -66,6 +66,7 @@ macro_rules! rtunwrap {
|
||||
pub mod thread_info;
|
||||
pub mod thread_local_dtor;
|
||||
pub mod thread_local_key;
|
||||
pub mod thread_parker;
|
||||
pub mod util;
|
||||
pub mod wtf8;
|
||||
|
||||
|
@ -149,8 +149,6 @@
|
||||
#[cfg(all(test, not(target_os = "emscripten")))]
|
||||
mod tests;
|
||||
|
||||
mod parker;
|
||||
|
||||
use crate::any::Any;
|
||||
use crate::cell::UnsafeCell;
|
||||
use crate::ffi::{CStr, CString};
|
||||
@ -166,9 +164,9 @@
|
||||
use crate::sys_common::mutex;
|
||||
use crate::sys_common::thread;
|
||||
use crate::sys_common::thread_info;
|
||||
use crate::sys_common::thread_parker::Parker;
|
||||
use crate::sys_common::{AsInner, IntoInner};
|
||||
use crate::time::Duration;
|
||||
use parker::Parker;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Thread-local storage
|
||||
|
Loading…
Reference in New Issue
Block a user