7 #ifndef _PSP2KERN_KERNEL_THREADMGR_COND_H_
8 #define _PSP2KERN_KERNEL_THREADMGR_COND_H_
SceUID ksceKernelCreateCond(const char *name, SceUInt attr, SceUID mutexId, const SceKernelCondOptParam *option)
Creates a new condition variable.
int ksceKernelSignalCondAll(SceUID condId)
Signals a condition variable to all threads waiting for it.
int ksceKernelSignalCondTo(SceUID condId, SceUID threadId)
Signals a condition variable to a specific thread waiting for it.
int ksceKernelDeleteCond(SceUID condId)
Destroy a condition variable.
int ksceKernelWaitCond(SceUID condId, unsigned int *timeout)
Waits for a signal of a condition variable.
int ksceKernelSignalCond(SceUID condId)
Signals a condition variable.
Additional options used when creating condition variables.
Definition: threadmgr.h:307
uint32_t SceUInt
Definition: types.h:48
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90