6 #ifndef _PSP2KERN_KERNEL_THREADMGR_MUTEX_H_
7 #define _PSP2KERN_KERNEL_THREADMGR_MUTEX_H_
int ksceKernelGetMutexInfo(SceUID mutexid, SceKernelMutexInfo *info)
Retrieve information about a mutex.
int ksceKernelUnlockMutex(SceUID mutexid, int unlockCount)
Try to unlock a mutex (non-blocking)
int ksceKernelLockMutex(SceUID mutexid, int lockCount, unsigned int *timeout)
Lock a mutex.
int ksceKernelCancelMutex(SceUID mutexid, int newCount, int *numWaitThreads)
Cancels a mutex.
SceUID ksceKernelCreateMutex(const char *name, SceUInt attr, int initCount, SceKernelMutexOptParam *option)
Creates a new mutex.
int ksceKernelDeleteMutex(SceUID mutexid)
Destroy a mutex.
int ksceKernelTryLockMutex(SceUID mutexid, int lockCount)
Try to lock a mutex (non-blocking)
Current state of a mutex.
Definition: threadmgr.h:284
Additional options used when creating mutexes.
Definition: threadmgr.h:274
uint32_t SceUInt
Definition: types.h:48
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90