The race condition
Both checked the status. Both were right. Use a conditional write. Like every meme on this site, it is drawn entirely in code: an SVG built from TypeScript, no stock art.
The serious version: Model business workflows as state machines