psl1ght
A free SDK for Sony's PS3 console
spinlock.h
1 #ifndef __LV2_SPINLOCK_H__
2 #define __LV2_SPINLOCK_H__
3 
4 #include <ppu-types.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 void sysSpinlockInitialize(s32 *lock);
11 void sysSpinlockLock(s32 *lock);
12 s32 sysSpinlockTryLock(s32 *lock);
13 void sysSpinlockUnlock(s32 *lock);
14 
15 #ifdef __cplusplus
16  }
17 #endif
18 
19 #endif