Question

What is a critical section in the context of synchronization?

A A section of code that must be executed by multiple threads simultaneously
B A section of code that needs to be synchronized to prevent concurrent access by multiple threads
C A section of code that is not important for synchronization
D A section of code that is only executed once in a program
Practice Next

Relevant for Exams:

Hey! Ask a query