summaryrefslogtreecommitdiff
path: root/sys/include/spinlock.h
blob: 3400445255f20fef5c5a4947131bd99a63c8be84 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _LOCK_H
#define _LOCK_H

struct spinlock {
        int locked;
        const char *name;
};

void initlock(struct spinlock *, const char *);

#endif /* _LOCK_H */