//! Functions for querying and controlling the calling thread.
use Duration;
use ;
/// Returns the logical processor number the calling thread is currently running on.
/// Returns the core number the calling thread is currently running on.
/// Suspends the calling thread for at least `duration`.
/// Yields the calling thread's remaining timeslice to the scheduler.