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
10#include <psp2kern/types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
27
43SceUID ksceKernelCreateEventFlag(const char *name, int attr, int bits, SceKernelEventFlagOptParam *opt);
44
53int ksceKernelSetEventFlag(SceUID evfid, unsigned int bits);
54
63int ksceKernelClearEventFlag(SceUID evfid, unsigned int bits);
64
74int ksceKernelPollEventFlag(SceUID evfid, unsigned int bits, unsigned int wait, unsigned int *outBits);
75
86int ksceKernelWaitEventFlag(SceUID evfid, unsigned int bits, unsigned int wait, unsigned int *outBits, SceUInt *timeout);
87
98int 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