What is a mutex in concurrency control?

18 views
  • A data structure used to synchronize access to shared resources
  • A hardware component used to control access to shared resources
  • A synchronization primitive used to protect critical regions (Correct Answer)
  • A software component used to manage threads

Explanation

Answer: c. A synchronization primitive used to protect critical regions

Explanation: A mutex is a synchronization primitive used to protect critical regions in a multi-threaded program. It provides mutual exclusion to ensure that only one thread can access the critical region at a time.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs