index
:
135e2/xv6-labs.git
xv6-labs-2024-winter
135e2
log msg
author
committer
range
cow
fs
lock
mmap
net
pgtbl
syscall
thread
traps
util
summary
refs
log
tree
commit
diff
path:
root
/
spinlock.h
blob: a720b2462019b77ecbd42a5ee8f01bd08da0e6b8 (
plain
)
1
2
3
4
5
6
struct
spinlock
{
unsigned
int
locked
;
unsigned
who
;
int
count
;
unsigned
locker_pc
;
};