Synchronization
  • Introduction
  • Race Condition
    • Too Much Milk Problem
  • Mutual Exclusion
    • Shared Output
  • Semaphore in C
  • Too Much Milk: Use semaphore
  • Shared Output: Use semaphore
  • Traffic Control Problem
  • Traffic Control: Solution
  • Shared Memory
Powered by GitBook
On this page

Was this helpful?

Race Condition

Race condition describes the case where the outcome of an execution depends on a particular order in which the shared resource is accessed.

Let's look at an example of race condition.

PreviousIntroductionNextToo Much Milk Problem

Last updated 2 months ago

Was this helpful?