vitasdk
Documentation of the vitasdk
semaphore.h File Reference

Go to the source code of this file.

Functions

SceUID sceKernelCreateSema (const char *name, SceUInt attr, int initVal, int maxVal, SceKernelSemaOptParam *option)
 Creates a new semaphore. More...
 
int sceKernelDeleteSema (SceUID semaid)
 Destroy a semaphore. More...
 
int sceKernelSignalSema (SceUID semaid, int signal)
 Send a signal to a semaphore. More...
 
int sceKernelWaitSema (SceUID semaid, int signal, SceUInt *timeout)
 Lock a semaphore. More...
 
int sceKernelWaitSemaCB (SceUID semaid, int signal, SceUInt *timeout)
 Lock a semaphore and handle callbacks if necessary. More...
 
int sceKernelPollSema (SceUID semaid, int signal)
 Poll a semaphore. More...
 
int sceKernelCancelSema (SceUID semaid, int setCount, int *numWaitThreads)
 Cancels a semaphore. More...
 
int sceKernelGetSemaInfo (SceUID semaid, SceKernelSemaInfo *info)
 Retrieve information about a semaphore. More...
 
SceUID sceKernelOpenSema (const char *name)
 
int sceKernelCloseSema (SceUID semaid)