|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
n |
Advantages
|
|
|
|
u |
the kernel can
|
|
|
simultaneously
schedule
|
|
|
many threads of
the
|
|
|
same process on
many
|
|
|
|
processors
|
|
|
|
u |
blocking is done
on a
|
|
|
|
thread level
|
|
|
|
u |
kernel routines
can be
|
|
|
multithreaded
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
n |
Inconveniences
|
|
|
|
u |
thread switching
within
|
|
|
the same process
|
|
|
|
involves the
kernel. We
|
|
have 2 mode
switches
|
|
|
|
per thread switch
|
|
|
|
u |
this results in a
|
|
|
|
significant slow
down
|
|
|
|