⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠
Text Elements
CPU
kernel level threads (KLT)
threading lib
process
user level threads (ULT)
Abstractions
Data structures
CPU
- ptr to executing thread
- ptr to previous threads …
KLT
- stack
- registers …
Process Control Block (PCB)
ULT
- UL thread ID
- UL registers
- thread stack …
hard state (shared by all threads)
- virtual address mapping …
light state (thread specific)
- signal mask
- sys call args …
1 : many
depends 1:1 many: many 1 : many
CPU
threading lib (controler)
all : 1
many : 1
kernel
user