Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

What is a critical region? How do they relate to controlling access to shared resources?

What is a critical region? How do they relate to controlling access to shared resources?

Answers


Faith
A critical region is a section of code that essentially contains a variable(s) that can be accessed by
multiple threads, but will affect the operation of the entire program, or system. Correctness relies on
critical regions not being modified by two or more different processes at the same time.
Titany answered the question on April 26, 2022 at 05:20

Answer Attachments

Exams With Marking Schemes

Related Questions