summaryrefslogtreecommitdiff
path: root/include/user/kernel
diff options
context:
space:
mode:
authorSimon Stapleton2020-03-22 13:24:34 +0100
committerFrancisco José García García2020-06-11 13:43:04 +0200
commit43b487959bb8e1a9d78c5a9422e2f4174b8d3815 (patch)
treead7248e207ea40f75b5ea7f1eae2259ab15f3a3f /include/user/kernel
parentAdded sceGxmVshInitialize reference. (diff)
downloadvds-libraries-43b487959bb8e1a9d78c5a9422e2f4174b8d3815.tar.gz
Fix value for SCE_EVENT_WAITMULTIPLE, add other missing event flags
Diffstat (limited to 'include/user/kernel')
-rw-r--r--include/user/kernel/threadmgr.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/user/kernel/threadmgr.h b/include/user/kernel/threadmgr.h
index c5d93b7..ffb8fd6 100644
--- a/include/user/kernel/threadmgr.h
+++ b/include/user/kernel/threadmgr.h
@@ -585,8 +585,16 @@ typedef struct SceKernelEventFlagOptParam SceKernelEventFlagOptParam;
/** Event flag creation attributes */
typedef enum SceEventFlagAttributes {
- /** Allow the event flag to be waited upon by multiple threads */
- SCE_EVENT_WAITMULTIPLE = 0x200
+ /* Waiting threads queued on a FIFO basis */
+ SCE_EVENT_THREAD_FIFO = 0,
+ /* Waiting threads queued on priority basis */
+ SCE_EVENT_THREAD_PRIO = 0x00002000,
+ /* Event flag can only be waited upon by one thread */
+ SCE_EVENT_WAITSINGLE = 0,
+ /* Event flag can be waited upon by multiple threads */
+ SCE_EVENT_WAITMULTIPLE = 0x00001000,
+ /* Event flag can be accessed by sceKernelOpenEventFlag / sceKernelCloseEventFlag */
+ SCE_EVENT_OPENABLE = 0x00000080
} SceEventFlagAttributes;
/** Event flag wait types */