vitasdk
Documentation of the vitasdk
lw_mutex.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2KERN_KERNEL_THREADMGR_LW_MUTEX_H_
8 #define _PSP2KERN_KERNEL_THREADMGR_LW_MUTEX_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2kern/types.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 
19 typedef struct SceKernelLwMutexInfo {
22  char name[0x20];
23  int attr;
31 
33 
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif /* _PSP2KERN_KERNEL_THREADMGR_LW_MUTEX_H_ */
int current_count
Definition: lw_mutex.h:26
VITASDK_BUILD_ASSERT_EQ(0x40, SceKernelLwMutexInfo)
char name[0x20]
Definition: lw_mutex.h:22
SceKernelLwMutexWork * work
Definition: lw_mutex.h:24
int ksceKernelGetLwMutexInfo(SceUID lwmtxid, SceKernelLwMutexInfo *info)
SceUInt32 num_wait_threads
Definition: lw_mutex.h:28
int attr
Definition: lw_mutex.h:23
SceSize size
Definition: lw_mutex.h:20
int init_count
Definition: lw_mutex.h:25
SceUID current_owner_id
Definition: lw_mutex.h:27
SceUID mtxid
Definition: lw_mutex.h:21
Definition: lw_mutex.h:19
Definition: threadmgr.h:255
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90
uint32_t SceUInt32
Definition: types.h:45