Function psp::sys::sceKernelLockMutexCB
source · #[no_mangle]
pub unsafe extern "C" fn sceKernelLockMutexCB(
mutex: *mut SceKernelLwMutexWork,
count: i32
) -> i32
Expand description
Locks a lightweight mutex (callback).
This function can be blocking if the mutex is already locked. If the mutex is flagged as recursive, count can be >1. For more information, see http://linux.die.net/man/3/pthread_mutex_lock
§Parameters
mutex
: Pointer to a lightweight mutex structure.count
: The lock counter increment.
§Return Value
SCE_ERROR_OK on success, otherwise <0 on error.