Advantages and
Inconveniences of ULT
ä Advantages
ä Thread switching
does not involve the
kernel: no mode
switching
ä Scheduling can be
application specific:
choose the best
algorithm.
ä ULTs can run on any
OS. Only needs a
thread library
ä Inconveniences
ä Most system calls are
blocking and the
kernel blocks
processes. So all
threads within the
process will be
blocked
ä The kernel can only
assign processes to
processors. Two
threads within the
same process cannot
run simultaneously
on two processors