How To Do Parallelism Without Getting Egg On Your Face
The other day I put together a trivial parallel code example that was going to be used in a 'how-to' document. The code was nothing much more complicated than a parallel 'hello world'. The sort of thing you could write while asleep.
I then sent the code to three colleagues for review. Well, embarrassingly the code came back, the reviewers pointing out that the code had a data race and the results of the program were inconsistent.


