xref: /xv6-public/spinlock.h (revision 66432474)
1*66432474Srtm struct spinlock {
2*66432474Srtm   unsigned int locked;
3*66432474Srtm   struct proc *p;
4*66432474Srtm   int count;
5*66432474Srtm   unsigned locker_pc;
6*66432474Srtm };
7