vitasdk
Documentation of the vitasdk
cond.h
Go to the documentation of this file.
1
6#ifndef _PSP2_KERNEL_THREADMGR_COND_H_
7#define _PSP2_KERNEL_THREADMGR_COND_H_
8
10#include <psp2/types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
33SceUID sceKernelCreateCond(const char *name, SceUInt attr, SceUID mutexId, const SceKernelCondOptParam *option);
34
42
49int sceKernelOpenCond(const char *name);
50
58
66int sceKernelWaitCond(SceUID condId, unsigned int *timeout);
67
75int sceKernelWaitCondCB(SceUID condId, unsigned int *timeout);
76
84
92
100int sceKernelSignalCondTo(SceUID condId, SceUID threadId);
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif /* _PSP2_KERNEL_THREADMGR_COND_H_ */
int sceKernelDeleteCond(SceUID condId)
Destroy a condition variable.
int sceKernelSignalCond(SceUID condId)
Signals a condition variable.
SceUID sceKernelCreateCond(const char *name, SceUInt attr, SceUID mutexId, const SceKernelCondOptParam *option)
Creates a new condition variable.
int sceKernelOpenCond(const char *name)
Open a condition variable.
int sceKernelCloseCond(SceUID condId)
Close a condition variable.
int sceKernelWaitCond(SceUID condId, unsigned int *timeout)
Waits for a signal of a condition variable.
int sceKernelSignalCondTo(SceUID condId, SceUID threadId)
Signals a condition variable to a specific thread waiting for it.
int sceKernelSignalCondAll(SceUID condId)
Signals a condition variable to all threads waiting for it.
int sceKernelWaitCondCB(SceUID condId, unsigned int *timeout)
Waits for a signal of a condition variable (with callbacks)
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