Skip to main content

dr_mutex_self_owns

Function dr_mutex_self_owns 

Source
pub unsafe extern "C" fn dr_mutex_self_owns(
    mutex: *mut c_void,
) -> bool_
Expand description

Returns true iff \p mutex is owned by the calling thread. This routine is only available in debug builds. In release builds it always returns true.