A Dozen Concurrency Pitfalls
I needed some filler material for my lectures on concurrency. I googled around for Java concurrency pitfalls and came up with a nice mixture of golden oldies and new ones (at least new to me). I cleaned them up and translated them into Scala because that's what we use in the course. Here they are, for your puzzling pleasure.
style="float: right; margin-left: 1em;" width="211" height="239" />
Rules of the game:
- For each of these, the question is
Related Topics >>