I have some code, stripped example below, which is causing a R/W data race condition reported by Inspector XE 2011 thread checking inside my function do_work.
The data1 and data2 arrays are arrays of C++ objects and are pased by reference to do_work
The objects do memory allocation operations inside do_work, but I am compiling /MD so memory allocate/deallocate is thread-safe.
All objects in do_work are local, there is no shared, global, data.
The XE tools are great , but I am baffled!
[cpp]#ifdef _OPENMP #pragma omp parallel for #endif for(int kxIndex=0;kxIndex