Major refactor of codebase
This commit is contained in:
parent
dbc6dc0d7c
commit
f478f8d38b
125 changed files with 195 additions and 29519 deletions
9
include/lock.h
Normal file
9
include/lock.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <stdatomic.h>
|
||||
|
||||
#ifndef SPINLOCK_H
|
||||
#define SPINLOCK_H
|
||||
|
||||
void acquire_spinlock(atomic_flag *lock);
|
||||
void free_spinlock(atomic_flag *lock);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue