vitasdk
Documentation of the vitasdk
mutex.h File Reference

Go to the source code of this file.

Functions

SceUID ksceKernelCreateMutex (const char *name, SceUInt attr, int initCount, SceKernelMutexOptParam *option)
 Creates a new mutex. More...
 
int ksceKernelDeleteMutex (SceUID mutexid)
 Destroy a mutex. More...
 
int ksceKernelLockMutex (SceUID mutexid, int lockCount, unsigned int *timeout)
 Lock a mutex. More...
 
int ksceKernelTryLockMutex (SceUID mutexid, int lockCount)
 Try to lock a mutex (non-blocking) More...
 
int ksceKernelUnlockMutex (SceUID mutexid, int unlockCount)
 Try to unlock a mutex (non-blocking) More...
 
int ksceKernelCancelMutex (SceUID mutexid, int newCount, int *numWaitThreads)
 Cancels a mutex. More...
 
int ksceKernelGetMutexInfo (SceUID mutexid, SceKernelMutexInfo *info)
 Retrieve information about a mutex. More...