vitasdk
Documentation of the vitasdk
fast_mutex.h
Go to the documentation of this file.
1
7#ifndef _PSP2KERN_KERNEL_THREADMGR_FAST_MUTEX_H_
8#define _PSP2KERN_KERNEL_THREADMGR_FAST_MUTEX_H_
9
10#include <vitasdk/build_utils.h>
11#include <psp2kern/types.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
22
23
24int ksceKernelInitializeFastMutex(SceKernelFastMutex *fast_mutex, const char *name, int attr, void *opt);
26
30
32
33
34/* backward compatibility */
35
36#define ksceKernelDeleteFastMutex(__fast_mutex__) ksceKernelFinalizeFastMutex((__fast_mutex__))
37
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* _PSP2KERN_KERNEL_THREADMGR_FAST_MUTEX_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
int ksceKernelLockFastMutex(SceKernelFastMutex *fast_mutex)
int ksceKernelTryLockFastMutex(SceKernelFastMutex *fast_mutex)
int ksceKernelInitializeFastMutex(SceKernelFastMutex *fast_mutex, const char *name, int attr, void *opt)
int ksceKernelFinalizeFastMutex(SceKernelFastMutex *fast_mutex)
int ksceKernelGetFastMutexInfo(SceKernelFastMutex *fast_mutex, void *info)
SceUInt8 data[0x40]
Definition fast_mutex.h:19
int ksceKernelUnlockFastMutex(SceKernelFastMutex *fast_mutex)
Definition fast_mutex.h:18
uint8_t SceUInt8
Definition types.h:36