This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Mixing C++11 atomics and OpenMP
- From: Michael Underhill <4145098 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 24 Dec 2016 12:00:42 +0100
- Subject: Mixing C++11 atomics and OpenMP
- Authentication-results: sourceware.org; auth=none
Hello there!
OpenMP has its own support for atomic access, however, there are at
least two reasons for preferring C++11 atomics: they are significantly
more flexible and they are part of the standard. Does GCC implement
C++11/14/17 atomics and OpenMP in a way so that they can be combined?
Thanks!