This website requires JavaScript.
Explore
Help
Sign In
ilo-pona
/
xv6-65oo2
Watch
1
Star
0
Fork
You've already forked xv6-65oo2
0
Code
Issues
Pull requests
Packages
Projects
Releases
Activity
d49a2d5386
xv6-65oo2
/
spinlock.h
7 lines
77 B
C
Raw
Normal View
History
Unescape
Escape
cvs add spinlock.h fix race in schedule()
2006-07-12 09:10:25 +00:00
struct
spinlock
{
open()
2006-07-29 09:35:02 +00:00
char
*
name
;
add uint and standardize on typedefs instead of unsigned
2006-07-17 01:52:13 +00:00
uint
locked
;
add ide_lock for sleep
2006-07-17 05:00:25 +00:00
int
cpu
;
interrupts could be recursive since lapic_eoi() called before rti so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
2006-08-10 22:08:14 +00:00
uint
pcs
[
10
]
;
cvs add spinlock.h fix race in schedule()
2006-07-12 09:10:25 +00:00
}
;
Reference in a new issue
Copy permalink