The F2008 standard added the BLOCK/ENDBLOCK construct. Intel® Compiler 19.0 starts to support its use inside an OpenMP* parallel region, making it easier to write thread safe code.
Consider below example:
Refer to the Intel® Parallel Studio XE 2019 Composer Edition product documentation for additional details.
Product and Performance Information
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.