Move thread parker to sys_common.

This commit is contained in:
Mara Bos 2020-09-27 12:27:27 +02:00
parent 4301b5c1cc
commit 0b73fd7105
5 changed files with 2 additions and 3 deletions

View File

@ -66,6 +66,7 @@ pub mod thread;
pub mod thread_info;
pub mod thread_local_dtor;
pub mod thread_local_key;
pub mod thread_parker;
pub mod util;
pub mod wtf8;

View File

@ -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::thread as imp;
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