Grokking Multithreading and Concurrency for Coding Interviews
Vote

0% completed

​

Race Conditions and Critical Sections

Know the Vocabulary

This lesson uses the terms below many times. Read them once now, and come back here when a later section needs one.

  • Thread: One path of work inside a program. A program can run many threads at the same time.
  • Shared data: Data that more than one thread can read or change, such as a count of tickets sold.
  • Race condition: A bug where the result depends on the timing of threads, that is, on which thread happens to reach a step first.
  • Interleaving: The order in which the steps of two or more threads mix together while they run.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content