1 #ifndef DASH__COARRAY__COEVENTREF_H 2 #define DASH__COARRAY__COEVENTREF_H 5 #include <dash/GlobPtr.h> 6 #include <dash/Atomic.h> 8 #include <dash/memory/MemorySpace.h> 35 DASH_LOG_DEBUG(
"post event to gptr", _gptr);
38 DASH_LOG_DEBUG(
"event posted");
45 DASH_LOG_DEBUG(
"test for events on", _gptr);
50 inline Team & team() {
53 inline bool operator ==(
const self_t & other)
const noexcept {
54 return (_gptr == other._gptr) && (_team == other._team);
56 inline bool operator !=(
const self_t & other)
const noexcept {
57 return !(*
this == other);
This class is a simple memory pool which holds allocates elements of size ValueType.
Type wrapper to mark any trivial type atomic.
A Team instance specifies a subset of all available units.
void post() const
post an event to this unit.
static Team & Null()
The invariant Team instance representing an undefined team.
int test() const
returns the number of arrived events at this unit
static Team & All()
The invariant Team instance containing all available units.