Skip to main content

Module sync

Module sync 

Source

Re-exportsยง

use rustc_abi::Size; ๐Ÿ”’
use rustc_target::spec::Os; ๐Ÿ”’
use crate::*; ๐Ÿ”’

Structsยง

PthreadCondAttr ๐Ÿ”’
PthreadCondvar ๐Ÿ”’
PthreadMutex ๐Ÿ”’
PthreadMutexAttr ๐Ÿ”’
PthreadRwLock ๐Ÿ”’
PthreadSem ๐Ÿ”’

Enumsยง

MutexKind ๐Ÿ”’
The mutex kind.

Traitsยง

EvalContextExt

Functionsยง

cond_create ๐Ÿ”’
cond_get_data ๐Ÿ”’
condattr_create ๐Ÿ”’
condattr_destroy ๐Ÿ”’
condattr_get_data ๐Ÿ”’
Returns the mutex attribute data stored at the address that condattr_ptr points to. Will raise an error if the mutex has been moved since its first use.
is_initializer ๐Ÿ”’
Check if place stores the initializer called name.
mutex_create ๐Ÿ”’
Eagerly create and initialize a new mutex.
mutex_get_data ๐Ÿ”’
Returns the mutex data stored at the address that mutex_ptr points 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_ptr points 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 ๐Ÿ”’