GNU g++  v5.2.1
GNU Standard C++
compatibility.h File Reference

Compatibility layer, mostly concerned with atomic operations. More...

#include <parallel/types.h>
#include <parallel/base.h>
#include <sched.h>
Include dependency graph for compatibility.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

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.