Home
last modified time | relevance | path

Searched defs:PThreadMutex (Results 1 – 1 of 1) sorted by relevance

/linux/rust/pin-init/examples/
H A Dpthread_mutex.rs23 pub struct PThreadMutex<T> { struct
25 raw: UnsafeCell<libc::pthread_mutex_t>,
26 data: UnsafeCell<T>,
28 pin: PhantomPinned,
31 unsafe impl<T: Send> Send for PThreadMutex<T> {} implementation
32 unsafe impl<T: Send> Sync for PThreadMutex<T> {} implementation
35 impl<T> PinnedDrop for PThreadMutex<T> { implementation
64 impl<T> PThreadMutex<T> { implementation