Function flipper0::ffi::read_mutex

source ·
pub unsafe extern "C" fn read_mutex(
    valuemutex: *mut ValueMutex,
    data: *mut c_void,
    len: usize,
    timeout: u32
) -> bool
Expand description

Instead of take-access-give sequence you can use read_mutex and write_mutex functions. Both functions return true in case of success, false otherwise.