vitasdk
Documentation of the vitasdk
event_flags.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2KERN_KERNEL_THREADMGR_EVENT_FLAGS_H_
7 #define _PSP2KERN_KERNEL_THREADMGR_EVENT_FLAGS_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2kern/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
27 
43 SceUID ksceKernelCreateEventFlag(const char *name, int attr, int bits, SceKernelEventFlagOptParam *opt);
44 
53 int ksceKernelSetEventFlag(SceUID evfid, unsigned int bits);
54 
63 int ksceKernelClearEventFlag(SceUID evfid, unsigned int bits);
64 
74 int ksceKernelPollEventFlag(SceUID evfid, unsigned int bits, unsigned int wait, unsigned int *outBits);
75 
86 int ksceKernelWaitEventFlag(SceUID evfid, unsigned int bits, unsigned int wait, unsigned int *outBits, SceUInt *timeout);
87 
98 int ksceKernelWaitEventFlagCB(SceUID evfid, unsigned int bits, unsigned int wait, unsigned int *outBits, SceUInt *timeout);
99 
108 
109 
110 #ifdef __cplusplus
111 }
112 #endif
113 
114 #endif /* _PSP2KERN_KERNEL_THREADMGR_EVENT_FLAGS_H_ */
int ksceKernelDeleteEventFlag(SceUID evfid)
Delete an event flag.
int ksceKernelWaitEventFlagCB(SceUID evfid, unsigned int bits, unsigned int wait, unsigned int *outBits, SceUInt *timeout)
Wait for an event flag for a given bit pattern with callback.
int ksceKernelSetEventFlag(SceUID evfid, unsigned int bits)
Set an event flag bit pattern.
int ksceKernelWaitEventFlag(SceUID evfid, unsigned int bits, unsigned int wait, unsigned int *outBits, SceUInt *timeout)
Wait for an event flag for a given bit pattern.
int ksceKernelClearEventFlag(SceUID evfid, unsigned int bits)
Clear a event flag bit pattern.
SceUID ksceKernelCreateEventFlag(const char *name, int attr, int bits, SceKernelEventFlagOptParam *opt)
Create an event flag.
int ksceKernelGetEventFlagInfo(SceUID evfid, SceKernelEventFlagInfo *info)
Get event flags info.
int ksceKernelPollEventFlag(SceUID evfid, unsigned int bits, unsigned int wait, unsigned int *outBits)
Poll an event flag for a given bit pattern.
Structure to hold the event flag information.
Definition: threadmgr.h:218
Definition: threadmgr.h:212
uint32_t SceUInt
Definition: types.h:48
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90