blob: 900856d35349d28bc2b373f1b55d7e9bd42a11e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "hack.h"
#include <util/system/yield.cpp>
#include <util/system/spinlock.cpp>
#include "spinlock.h"
void SPIN_L(spinlock_t* l) {
AcquireAdaptiveLock(l);
}
void SPIN_U(spinlock_t* l) {
ReleaseAdaptiveLock(l);
}
|