Thrill
0.1
|
An extra class derived from std::vector<> for delivery of the BlockWriters of a Stream.
The purpose is to enforce a custom way to close stream writers cyclically such that PE k first sends it's Close-packet to k+1, k+2, etc.
Definition at line 59 of file stream_data.hpp.
Inherits vector< T >.
#include <stream_data.hpp>
Public Member Functions | |
Writers (size_t my_worker_rank=0) | |
Writers (const Writers &)=default | |
copyable: default copy-constructor More... | |
Writers (Writers &&)=default | |
move-constructor: default More... | |
~Writers () | |
custom destructor to close writers is a cyclic fashion More... | |
void | Close () |
custom destructor to close writers is a cyclic fashion More... | |
Writers & | operator= (const Writers &)=default |
copyable: default assignment operator More... | |
Writers & | operator= (Writers &&)=default |
move-assignment operator: default More... | |
Private Attributes | |
size_t | my_worker_rank_ |
rank of this worker More... | |
Writers | ( | size_t | my_worker_rank = 0 | ) |
Definition at line 88 of file stream_data.cpp.
~Writers | ( | ) |
custom destructor to close writers is a cyclic fashion
Definition at line 100 of file stream_data.cpp.
References StreamData::Writers::Close().
void Close | ( | ) |
custom destructor to close writers is a cyclic fashion
Definition at line 92 of file stream_data.cpp.
References StreamData::Writers::my_worker_rank_.
Referenced by GroupByNode< ValueType, KeyExtractor, GroupFunction, HashFunction, UseLocationDetection >::Execute(), DuplicateDetection::FindNonDuplicates(), LocationDetection< thrill::api::JoinNode::HashCount >::Flush(), SortNode< ValueType, CompareFunction, SortAlgorithm, Stable >::MainOp(), Stream::ScatterKeep(), AllGatherNode< ValueType >::StopPreOp(), GroupToIndexNode< ValueType, KeyExtractor, GroupFunction >::StopPreOp(), and StreamData::Writers::~Writers().
|
private |
rank of this worker
Definition at line 81 of file stream_data.hpp.
Referenced by StreamData::Writers::Close().