Multiple choice technology programming languages

What is a semaphore

  1. A mechanism to share non-sharable resources

  2. A mechanism to access memory very fast

  3. A mechanism to access kernel details

  4. None

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A semaphore is a synchronization variable used to control access to shared, non-shareable resources by multiple processes in concurrent systems.