This website requires JavaScript.
Explore
Help
Sign In
greg
/
xv6
Watch
1
Star
0
Fork
You've already forked xv6
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
28d9ef04dd
xv6
/
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
;
fix race in holding() check in acquire() give cpu1 a TSS and gdt for when it enters scheduler() and a pseudo proc[] entry for each cpu cpu0 waits for each other cpu to start up read() for files
2006-08-08 19:58:06 +00:00
uint
pcs
[
10
]
;
add ide_lock for sleep
2006-07-17 05:00:25 +00:00
int
cpu
;
cvs add spinlock.h fix race in schedule()
2006-07-12 09:10:25 +00:00
}
;
Reference in a new issue
Copy permalink