xv6/spinlock.h
2006-07-20 09:07:53 +00:00

5 lines
58 B
C

struct spinlock {
uint locked;
uint pc;
int cpu;
};