xv6/spinlock.h

6 lines
58 B
C
Raw Normal View History

struct spinlock {
uint locked;
2006-07-20 09:07:53 +00:00
uint pc;
2006-07-17 05:00:25 +00:00
int cpu;
};