Searched refs:DEFAULT_UNPARK_TOKEN (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/parking_lot/src/ |
D | once.rs | 13 use parking_lot_core::{self, SpinWait, DEFAULT_PARK_TOKEN, DEFAULT_UNPARK_TOKEN}; 290 parking_lot_core::unpark_all(addr, DEFAULT_UNPARK_TOKEN); in call_once_slow() 312 parking_lot_core::unpark_all(addr, DEFAULT_UNPARK_TOKEN); in call_once_slow()
|
/external/rust/crates/parking_lot_core/src/ |
D | lib.rs | 66 pub use self::parking_lot::{DEFAULT_PARK_TOKEN, DEFAULT_UNPARK_TOKEN};
|
D | parking_lot.rs | 162 unpark_token: Cell::new(DEFAULT_UNPARK_TOKEN), in new() 533 pub const DEFAULT_UNPARK_TOKEN: UnparkToken = UnparkToken(0); constant 1399 use super::{ThreadData, DEFAULT_PARK_TOKEN, DEFAULT_UNPARK_TOKEN}; 1595 unsafe { super::unpark_all(self.semaphore_addr(), DEFAULT_UNPARK_TOKEN) }; in finish() 1653 super::unpark_one(self.semaphore_addr(), |_| DEFAULT_UNPARK_TOKEN) in up()
|