pi-async-executor 0.1.3

默认执行器的统一时钟与线程通知基础
Documentation
/// 所属线程未绑定前,只提供同一通知的共享访问。
#[doc(hidden)]
pub struct PreparedThreadParker {
    notifier: ThreadNotifier,
}
impl PreparedThreadParker {

    /// 预备通知(notification)的同源操作。
    pub fn new() -> Self {
        prepared_parker_new_inner()
    }

    /// 预备通知(notification)的同源操作。
    pub fn notifier(&self) -> ThreadNotifier {
        prepared_parker_notice_inner(self)
    }

    /// 预备通知(notification)的同源操作。
    pub fn bind(self) -> ThreadParker {
        prepared_parker_bind_inner(self)
    }

}

include!("prepared_parking_inner.rs");