[−][src]Function ulock_sys::weak::ulock_wake
pub unsafe fn ulock_wake(
op: u32,
addr: *mut c_void,
val: u64
) -> Result<c_int, ApiUnsupported>
Equivalent to __ulock_wake
, but lazy-loads and returns
Err(ApiUnsupported)
if this machine doesn't support the API.
It's generally faster to call this than to call
ULockApi::get()?.ulock_wake(...)
unless you can cache the result of get
somewhere easy.
Safety
Same as __ulock_wake