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