Designing Threaded Applications – Part 3
Monday, September 7th, 2009• In no way guess a particular order of execution – thread execution order cannot be established and restricted by the OS scheduler. You cannot predict the sequence of threads flowing from one execution to the next, not even what thread comes next.
• If possible, use thread-local storage – to keep coordination to a minimum, use exclusive [...]