Non-Deadlock Bugs
This lesson includes two frequent types of non-deadlock concurrency bugs: atomicity and ordering violation.
We'll cover the following
Non-deadlock bugs make up a majority of concurrency bugs, according to
- Atomicity violation bugs.
- Order violation bugs.
Atomicity-violation bugs
The first type of problem encountered is referred to as an atomicity violation. Here is a simple example, found in MySQL. Before reading the explanation, try figuring out what the bug is. Do it!
Get hands-on with 1200+ tech skills courses.