OpenMP Article Errata

Hi, I'm writing from PDC.  Just out of the keynote...

What I did want to quickly write about was my article, with Pete Isensee, about OpenMP is in the PDC issue of MSDN Magazine and available here:

https://msdn.microsoft.com/msdnmag/issues/05/10/OpenMP/default.aspx

If you're interested in parallelism then take a look at it.  It applies to both VC2005 as well as the XBox 360 XDK. 

There is one thing I wanted to note as a "bug" in the article (it was correct up until the last version of the article, but it appeared incorrect in the magazine for some reason).  It is in the "Common Pitfalls When Using OpenMP in Apps" section.  The incorrect code snippet says:

// Bad Bracket
#pragma omp parallel
{
// won't compile Code
}

// Good Bracket
#pragma omp parallel
{
// Code
}

The good code and the bad code are identical, so how can one be wrong and the other right?  Well the code snippet is supposed to look like:

// Bad Bracket
#pragma omp parallel {
// won't compile Code
}

// Good Bracket
#pragma omp parallel
{
// Code
}

Now it should be more apparent what the problem is.

Have fun reading the article and please give us feedback on what you'd like to see regarding concurrency and OpenMP in the future!