diff options
Diffstat (limited to 'tools/iso/kernel.soso/spinlock.h')
-rw-r--r-- | tools/iso/kernel.soso/spinlock.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/iso/kernel.soso/spinlock.h b/tools/iso/kernel.soso/spinlock.h new file mode 100644 index 00000000..fb7b820b --- /dev/null +++ b/tools/iso/kernel.soso/spinlock.h @@ -0,0 +1,12 @@ +#ifndef SPINLOCK_H +#define SPINLOCK_H + +#include "common.h" + +typedef int32 Spinlock; + +void Spinlock_Init(Spinlock* spinlock); +void Spinlock_Lock(Spinlock* spinlock); +void Spinlock_Unlock(Spinlock* spinlock); + +#endif // SPINLOCK_H |