1,898 views
7 votes
7 votes
is preemption is possible  when procees is in critical  section ??

is preemption is possible  when thread  is in critical  section ??

1 Answer

3 votes
3 votes
Preemption is possible when a process is in its Critical Section. Howerver, any other process which share its Critical Section with the proccess in its CS will have to wait until the process complete its CS.

Preempted process will get a chance eventually and completes it CS and another waiting process can enter into CS.

Related questions

0 votes
0 votes
0 answers
1