Open Source Daily Guide

Staying up-to-date with the latest news on Open Source

About

Proin accumsan urna in mi. Aenean elementum egestas tortor. Donec neque magna, auctor a, dapibus sit amet, facilisis sit amet, ligula..

Archive for September, 2009

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 [...]

Read the rest of this entry »