Compatibility layer, mostly concerned with atomic operations. More...
Namespaces | |
__gnu_parallel | |
GNU parallel code for public use. | |
Functions | |
template<typename _Tp > | |
_Tp | __gnu_parallel::__add_omp (volatile _Tp *__ptr, _Tp __addend) |
template<typename _Tp > | |
bool | __gnu_parallel::__cas_omp (volatile _Tp *__ptr, _Tp __comparand, _Tp __replacement) |
template<typename _Tp > | |
bool | __gnu_parallel::__compare_and_swap (volatile _Tp *__ptr, _Tp __comparand, _Tp __replacement) |
Compare-and-swap. More... | |
template<typename _Tp > | |
_Tp | __gnu_parallel::__fetch_and_add (volatile _Tp *__ptr, _Tp __addend) |
Add a value to a variable, atomically. More... | |
void | __gnu_parallel::__yield () |
Yield control to another thread, without waiting for the end of the time slice. More... | |
Compatibility layer, mostly concerned with atomic operations.
This file is a GNU parallel extension to the Standard C++ Library and contains implementation details for the library's internal use.