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.
March 09, 2010
URL:http://www.drdobbs.com/parallel/how-to-do-parallelism-without-getting-eg/228800363
Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.