Open MP and Win32 APIs

Open MP and Win32 APIs

Does anyone know if OpenMP can be used with Win32 API calls within, say, a simple "for" loop?


#pragma omp parallel for
win32_api (i.e. OpenProcess);

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

Leave a Comment

Please sign in to add a comment. Not a member? Join today