A Nachos Thread
Thread* t
“fencepost”
0xdeadbeef
Stack
low
high
stack top
unused region
thread object
or
thread control block
int stack[StackSize]
t = new Thread(name);
t->Fork(MyFunc, arg);
currentThread->Sleep();
currentThread->Yield();
Previous slide
Next slide
Back to first slide
View graphic version