Initial commit
This commit is contained in:
commit
cbc51f523e
125 changed files with 34817 additions and 0 deletions
9
src/include/lock.h
Normal file
9
src/include/lock.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <stdatomic.h>
|
||||
|
||||
#ifndef SPINLOCK_H
|
||||
#define SPINLOCK_H
|
||||
|
||||
void acquire_lock(atomic_flag *lock);
|
||||
void free_lock(atomic_flag *lock);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue