Function axlibc::pthread_mutex_trylock
source · #[no_mangle]
pub unsafe extern "C" fn pthread_mutex_trylock(
mutex: *mut pthread_mutex_t
) -> c_int
Available on crate feature
multitask
only.Expand description
Lock the given mutex. If the mutex is already locked, it returns immediatly with the error code EBUSY.