vitasdk
Documentation of the vitasdk
spinlock.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2KERN_KERNEL_CPU_SPINLOCK_H_
8 #define _PSP2KERN_KERNEL_CPU_SPINLOCK_H_
9 
10 #include <psp2kern/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 
23 
33 
40 
49 
60 
70 
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif /* _PSP2KERN_KERNEL_CPU_SPINLOCK_H_ */
SceKernelIntrStatus ksceKernelSpinlockLowLockCpuSuspendIntr(SceKernelSpinlock *lock)
Acquire a spinlock and suspend interrupts if necessary.
SceKernelIntrStatus ksceKernelSpinlockLowTrylockCpuSuspendIntr(SceKernelSpinlock *lock)
Attempt to acquire a spinlock and suspend interrupts if necessary.
int ksceKernelSpinlockLowTrylock(SceKernelSpinlock *lock)
Attempt to acquire a spinlock.
void ksceKernelSpinlockLowLock(SceKernelSpinlock *lock)
Acquire a spinlock.
void ksceKernelSpinlockLowUnlockCpuResumeIntr(SceKernelSpinlock *lock, SceKernelIntrStatus intr_status)
Release a previously acquired spinlock and resume interrupts if necessary.
void ksceKernelSpinlockLowUnlock(SceKernelSpinlock *lock)
Release a previously acquired spinlock.
int SceKernelSpinlock
Regular Spinlock.
Definition: types.h:199
int SceKernelIntrStatus
Interrupt status.
Definition: types.h:235