Function std::thread::park [] [src]

pub fn park()

Blocks unless or until the current thread's token is made available (may wake spuriously).

See the module doc for more detail.