Thrill
0.1
|
Thread local data structure: aligned such that no cache line is shared. The actual vector is in the FlowControlChannelManager.
Definition at line 98 of file flow_control_channel.hpp.
Public Member Functions | |
Generation Counting | |
void | WaitCounter (size_t this_step) |
void | IncCounter () |
Public Attributes | |
std::atomic< size_t > | counter { 0 } |
atomic generation counter, compare this to generation_. More... | |
std::atomic< void * > | ptr [2] = { { nullptr }, { nullptr } } |
pointer to some thread-owned data type More... | |
|
inline |
Definition at line 133 of file flow_control_channel.hpp.
References FlowControlChannel::LocalData::counter, and thrill::common::g_cache_line_size.
Referenced by FlowControlChannel::Predecessor().
|
inline |
Definition at line 122 of file flow_control_channel.hpp.
References FlowControlChannel::LocalData::counter.
Referenced by FlowControlChannel::Predecessor().
std::atomic<size_t> counter { 0 } |
atomic generation counter, compare this to generation_.
Definition at line 106 of file flow_control_channel.hpp.
Referenced by FlowControlChannel::LocalData::IncCounter(), and FlowControlChannel::LocalData::WaitCounter().
std::atomic<void*> ptr[2] = { { nullptr }, { nullptr } } |
pointer to some thread-owned data type
Definition at line 103 of file flow_control_channel.hpp.
Referenced by FlowControlChannel::GetLocalShared(), and FlowControlChannel::SetLocalShared().