summaryrefslogtreecommitdiff
path: root/src/internal/lock.h
blob: c77db6f7be813f94acfa1695b7882fa4b9e1dd78 (plain) (blame)
1
2
3
4
5
6
7
8
9
#ifndef LOCK_H
#define LOCK_H

hidden void __lock(volatile int *);
hidden void __unlock(volatile int *);
#define LOCK(x) __lock(x)
#define UNLOCK(x) __unlock(x)

#endif