The Hidden Danger of Synchronization
February 20th, 2009
2 comments

A programmer realised he had a problem which could be solved using threads.
Now he has two problems.
This isn’t going to be an anti-thread post, but I do want to sound a few words of caution about threads, and, specifically, synchronizers and monitors, and the order in which you acquire them.