Race condition
lastmod 2016-09-22created 2016-09-221 edits
A race condition is a state in which multiple processes try to access a shared resource at the same time. Simultaneous access can result in compromised data consistency. Preventing this requires process cooperation techniques.
Solutions
- Peterson's algorithm
- Synchronization instructions
- Semaphores