diff options
author | Francisco José García García | 2016-09-06 10:40:08 +0200 |
---|---|---|
committer | U-WUAL\ggf906 | 2016-09-06 10:42:43 +0200 |
commit | 7e6a22e791be6c88392540a437318283f652605b (patch) | |
tree | 36d0f4ae92f4cb1a8f92a04c8070798459555af7 /include/user/kernel/threadmgr.h | |
parent | Merge pull request #42 from Rinnegatamante/patch-5 (diff) | |
download | vds-libraries-7e6a22e791be6c88392540a437318283f652605b.tar.gz |
Add LwCond
Diffstat (limited to 'include/user/kernel/threadmgr.h')
-rw-r--r-- | include/user/kernel/threadmgr.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/user/kernel/threadmgr.h b/include/user/kernel/threadmgr.h index d32b705..aadead1 100644 --- a/include/user/kernel/threadmgr.h +++ b/include/user/kernel/threadmgr.h @@ -1004,6 +1004,21 @@ int sceKernelDeleteLwMutex(SceKernelLwMutexWork *pWork); int sceKernelLockLwMutex(SceKernelLwMutexWork *pWork, int lockCount, unsigned int *pTimeout); int sceKernelUnlockLwMutex(SceKernelLwMutexWork *pWork, int unlockCount); +typedef struct SceKernelLwCondWork { + SceInt64 data[4]; +} SceKernelLwCondWork; + +typedef struct SceKernelLwCondOptParam { + SceSize size; +} SceKernelLwCondOptParam; + +int sceKernelCreateLwCond(SceKernelLwCondWork *pWork, const char *pName, unsigned int attr, SceKernelLwMutexWork *pLwMutex, const SceKernelLwCondOptParam *pOptParam); +int sceKernelDeleteLwCond(SceKernelLwCondWork *pWork); +int sceKernelSignalLwCond(SceKernelLwCondWork *pWork); +int sceKernelWaitLwCond(SceKernelLwCondWork *pWork, unsigned int *pTimeout); + + + /** * Get the system time (wide version) * |