Concurrency With OpenMP

suggest change

Versions

[{“Name”:“C++11”,“GroupName”:null}]

Introduction

This topic covers the basics of concurrency in C++ using OpenMP. OpenMP is documented in more detail in the OpenMP tag.

Parallelism or concurrency implies the execution of code at the same time.

Remarks

OpenMP does not require any special headers or libraries as it is a built-in compiler feature. However, if you use any OpenMP API functions such as omp_get_thread_num(), you will need to include omp.h and its library.

OpenMP pragma statements are ignored when the OpenMP option is not enabled during compilation. You may want to refer to the compiler option in your compiler’s manual.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Concurrency with OpenMP:
* Concurrency With OpenMP

Table Of Contents
8 Arrays
11 Loops
39 Streams
51 Unions
56 Lambdas
60 SFINAE
62 RAII
67 Sorting
84 RTTI
87 Scopes
104 Profiling
107 Recursion
117 Iteration
121 Concurrency with OpenMP
125 Alignment
134 Semaphore
136 Debugging
139 Mutexes
142 decltype