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