Re-exportsยง
use rustc_abi::Size;๐use rustc_target::spec::Os;๐use crate::*;๐
Structsยง
- Pthread
Cond ๐Attr - Pthread
Condvar ๐ - Pthread
Mutex ๐ - Pthread
Mutex ๐Attr - Pthread
RwLock ๐ - Pthread
Sem ๐
Enumsยง
- Mutex
Kind ๐ - The mutex kind.
Traitsยง
Functionsยง
- cond_
create ๐ - cond_
get_ ๐data - condattr_
create ๐ - condattr_
destroy ๐ - condattr_
get_ ๐data - Returns the mutex attribute data stored at the address that
condattr_ptrpoints to. Will raise an error if the mutex has been moved since its first use. - is_
initializer ๐ - Check if
placestores the initializer calledname. - mutex_
create ๐ - Eagerly create and initialize a new mutex.
- mutex_
get_ ๐data - Returns the mutex data stored at the address that
mutex_ptrpoints to. Will raise an error if the mutex has been moved since its first use. - mutex_
kind_ ๐from_ static_ initializer - Returns the kind of a static initializer.
- mutexattr_
create ๐ - mutexattr_
destroy ๐ - mutexattr_
get_ ๐data - Returns the mutex attribute data stored at the address that
mutexattr_ptrpoints to. Will raise an error if the mutex has been moved since its first use. - mutexattr_
translate_ ๐kind - Translates the mutex kind from what is stored in pthread_mutexattr_t to our enum.
- rwlock_
get_ ๐data - sem_
create ๐ - sem_
get_ ๐data