325 views

1 Answer

0 votes
0 votes

Answer:

Advantage:

  • The main advantage is the increased efficiency.

Disadvantage:

  • The disadvantage is that if one of the thread blocks, then the entire process gets blocked.

 

Related questions

659
views
1 answers
0 votes
admin asked Oct 24, 2019
659 views
In a system with threads, is there one stack per thread or one stack per process when user-level threads are used? What about when kernel-level threads are used? Explain.
370
views
0 answers
0 votes
admin asked Oct 24, 2019
370 views
In Sec. $2.3.4$, a situation with a high-priority process, H, and a low-priority process, $L$, was described, which led to $H$ looping ... the same problem occur if round-robin scheduling is used instead of priority scheduling? Discuss.
305
views
0 answers
0 votes
admin asked Oct 24, 2019
305 views
Can the priority inversion problem discussed in Sec. $2.3.4$ happen with user-level threads? Why or why not?
1.7k
views
0 answers
0 votes
admin asked Oct 24, 2019
1,735 views
Does Peterson’s solution to the mutual-exclusion problem shown in Fig. $2-24$ work when process scheduling is preemptive? How about when it is nonpreemptive?