Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 415

BLOCK, END BLOCK statements not threadsafe

$
0
0

I have run accross random results using a BLOCK, END BLOCK contstruct. My application was multi-threaded. When I move the local declarations into the parent procedure and remove the BLOCK construct the results become repeatable.

I am using implied AUTOMATIC for the project via /Qopenmp.

The help file does not mention this limitation of your implementation. Is it a bug or intentional ?

Using Visual Fortran Compiler XE 15.0.5.280.


Viewing all articles
Browse latest Browse all 415

Trending Articles