Next: Race Conditions
Up: Threads
Previous: Thread-Specific Data
Contents
- There's no way to know when the system will schedule one thread to run and when it will run another.
- If one thread is only partway through updating a data structure when another thread accesses the same data structure, chaos.
- These bugs are called race conditions; the threads are racing one another to change the same data structure.
Subsections
Cem Ozdogan
2007-05-16