What is the critical section?

62. What is the critical section?

  1. It is the part of the process which is being executed for so long
  2. It is the part of the thread which is going to be terminated
  3. It is the part of the program where shared resources are accessed by the process
  4. It is the part of the program where different processes are shared

Answer: C) It is the part of the program where shared resources are accessed by the process

Explanation:

Critical section is the part of the program where shared resources are accessed by the process. If multiple processes access the critical section concurrently, then the results produced might be inconsistent.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.