Does anyone know if OpenMP can be used with Win32 API calls within, say, a simple "for" loop?
#pragma omp parallel forfor(...) win32_api (i.e. OpenProcess);
This question seems more appropriate to the threading forum. I don't understand what you mean by a simple for loop. I would think the question is whether API calls work in a parallel region, and that the answer should not be different between Fortran and C.