pin

Function pin 

Source
pub fn pin() -> Guard
Expand description

Pins the current thread.