vitasdk
Documentation of the vitasdk
mutex.h File Reference

Go to the source code of this file.

Functions

SceUID sceKernelCreateMutex (const char *name, SceUInt attr, int initCount, SceKernelMutexOptParam *option)
 Creates a new mutex. More...
 
int sceKernelDeleteMutex (SceUID mutexid)
 Destroy a mutex. More...
 
int sceKernelOpenMutex (const char *name)
 Open a mutex. More...
 
int sceKernelCloseMutex (SceUID mutexid)
 Close a mutex. More...
 
int sceKernelLockMutex (SceUID mutexid, int lockCount, unsigned int *timeout)
 Lock a mutex. More...
 
int sceKernelLockMutexCB (SceUID mutexid, int lockCount, unsigned int *timeout)
 Lock a mutex and handle callbacks if necessary. More...
 
int sceKernelTryLockMutex (SceUID mutexid, int lockCount)
 Try to lock a mutex (non-blocking) More...
 
int sceKernelUnlockMutex (SceUID mutexid, int unlockCount)
 Try to unlock a mutex (non-blocking) More...
 
int sceKernelCancelMutex (SceUID mutexid, int newCount, int *numWaitThreads)
 Cancels a mutex. More...
 
int sceKernelGetMutexInfo (SceUID mutexid, SceKernelMutexInfo *info)
 Retrieve information about a mutex. More...