about summary refs log tree commit diff stats
path: root/kernel.soso/spinlock.h
blob: fb7b820b0f7dcaaa192844c8a6615c2e45c3b17f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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