vitasdk
Documentation of the vitasdk
lw_mutex.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_KERNEL_THREADMGR_LW_MUTEX_H_
7 #define _PSP2_KERNEL_THREADMGR_LW_MUTEX_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
18 int sceKernelCreateLwMutex(SceKernelLwMutexWork *pWork,const char *pName, unsigned int attr, int initCount, const SceKernelLwMutexOptParam *pOptParam);
20 int sceKernelLockLwMutex(SceKernelLwMutexWork *pWork, int lockCount, unsigned int *pTimeout);
21 int sceKernelTryLockLwMutex(SceKernelLwMutexWork *pWork, int lockCount);
22 int sceKernelUnlockLwMutex(SceKernelLwMutexWork *pWork, int unlockCount);
23 
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif /* _PSP2_KERNEL_THREADMGR_LW_MUTEX_H_ */
int sceKernelLockLwMutex(SceKernelLwMutexWork *pWork, int lockCount, unsigned int *pTimeout)
int sceKernelDeleteLwMutex(SceKernelLwMutexWork *pWork)
int sceKernelCreateLwMutex(SceKernelLwMutexWork *pWork, const char *pName, unsigned int attr, int initCount, const SceKernelLwMutexOptParam *pOptParam)
int sceKernelTryLockLwMutex(SceKernelLwMutexWork *pWork, int lockCount)
int sceKernelUnlockLwMutex(SceKernelLwMutexWork *pWork, int unlockCount)
Definition: threadmgr.h:260
Definition: threadmgr.h:255