Home
last modified time | relevance | path

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

/linux-6.15/rust/pin-init/examples/
Dpthread_mutex.rs21 pub struct PThreadMutex<T> { struct
23 raw: UnsafeCell<libc::pthread_mutex_t>,
24 data: UnsafeCell<T>,
26 pin: PhantomPinned,
29 unsafe impl<T: Send> Send for PThreadMutex<T> {} implementation
30 unsafe impl<T: Send> Sync for PThreadMutex<T> {} implementation
33 impl<T> PinnedDrop for PThreadMutex<T> { implementation
61 impl<T> PThreadMutex<T> { impl