• support@answerspoint.com

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

2544

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. 

0Answer


Your Answer

    Facebook Share        
       
  • asked 3 years ago
  • viewed 2544 times
  • active 3 years ago

Hot Questions