Function std::thread::parkStable [-] [+] [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.