Explain critical section problem with suitable example
Answers
Answered by
0
Critical Section
set of instructions that must be controlled so as to allow exclusive access to one process
rarely: access to the critical section is limited to n processes instead of one process
execution of the critical section by processes is mutually exclusive in time
Critical Section (S&G, p. 166) (for example, ``for the process table'')
repeat

critical section

remainder section
until FALSE
set of instructions that must be controlled so as to allow exclusive access to one process
rarely: access to the critical section is limited to n processes instead of one process
execution of the critical section by processes is mutually exclusive in time
Critical Section (S&G, p. 166) (for example, ``for the process table'')
repeat

critical section

remainder section
until FALSE
Similar questions