Key Data Structures
your process address space
your program:
for i (1, 10, I++)
thread_fork(I);
….
user-level thread code:
proc thread_fork()…
proc thread_block()…
proc thread_exit()...
queue of thread control blocks
per-thread stacks
your data (shared by
all your threads):
Previous slide
Next slide
Back to first slide
View graphic version