summaryrefslogtreecommitdiffstats
path: root/library/std/src/sys/unsupported/thread_parking.rs
blob: 197078bb1867371a9b97a3c8d09de717ae163ee8 (plain)
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>) {}
}