std/sys/sync/thread_parking/
unsupported.rs

1
2
3
4
5
6
7
8
9
10
11
use crate::pin::Pin;
use crate::time::Duration;

pub struct Parker {}

impl Parker {
    pub unsafe fn new_in_place(_parker: *mut Parker) {}
    pub unsafe fn park(self: Pin<&Self>) {}
    pub unsafe fn park_timeout(self: Pin<&Self>, _dur: Duration) {}
    pub fn unpark(self: Pin<&Self>) {}
}