diff options
author | xyzz | 2016-09-06 14:03:26 +0200 |
---|---|---|
committer | GitHub | 2016-09-06 14:03:26 +0200 |
commit | 0c32d1707b90439c2bbbd38dfeaaff6581e6b6d4 (patch) | |
tree | 36d0f4ae92f4cb1a8f92a04c8070798459555af7 | |
parent | Merge pull request #42 from Rinnegatamante/patch-5 (diff) | |
parent | Add LwCond (diff) | |
download | vds-libraries-0c32d1707b90439c2bbbd38dfeaaff6581e6b6d4.tar.gz |
Merge pull request #44 from frangarcj/master
Add LwCond
-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) * |