46bb1d3157
https://github.com/ozkl/soso + Much smaller than Linux; builds instantly + Supports graphics - No network support - Doesn't work on a cloud server (yet?)
13 lines
229 B
C
13 lines
229 B
C
#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
|