Question: Two user-level thread to kernel-level thread mapping schemes are shown in picture below (a) and (b). (i). Describe the effect on the process when the

Two user-level thread to kernel-level thread mapping schemes are shown in picture below (a) and (b).

(i). Describe the effect on the process when the user thread 2 in the picture(a) causes a system call.

(ii). Describe the impact on the process when the user thread 4 in the picture(b) causes a system call.

(iii). Describe the advantages of the thread mapping scheme in the picture(b).

(iv). Describe how the OS converts user threads into kernel threads.

(1) User threads (2) (3) k (4) (a) Kernel thread (1) k 

(1) User threads (2) (3) k (4) (a) Kernel thread (1) k User threads (2) (3) (1) (3) k (4) k (b) Kernel threads

Step by Step Solution

3.55 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

i Effect of a system call by user thread 2 in picture a When user thread 2 in picture a causes a system callthe OS will context switch to the kernel t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!