Multiple choice

Which of the following techniques is used to gaurd against the race condition problems?

  1. Process synchronization

  2. Starvation

  3. CPU scheduling

  4. Dispatcher

  5. Context switching

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

This option is correct as to gaurd against the race condition ,we nee to ensure that only one process at a time can be manipulating the variable counter and this can be achieved through process synchronization.