Skip to content

Commit

Permalink
#1052: epoch: remove old message not used anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Feb 4, 2021
1 parent 4c282ba commit 165f8c1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 33 deletions.
1 change: 0 additions & 1 deletion src/vt/epoch/epoch_garbage_collect.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ struct IntegralSetData {

// fwd-declare the garbage collect messages to reduce dependencies
struct GarbageCollectMsg;
struct GarbageConfirmMsg;

/**
* \struct GarbageCollectTrait
Expand Down
1 change: 0 additions & 1 deletion src/vt/epoch/epoch_manip.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ namespace vt { namespace epoch {
/** \file */

struct GarbageCollectMsg;
struct GarbageConfirmMsg;
struct GarbageCollectTrait;

/**
Expand Down
31 changes: 0 additions & 31 deletions src/vt/epoch/garbage_collect_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,37 +96,6 @@ struct GarbageCollectMsg : vt::collective::ReduceTMsg<IntegralSetData> {
EpochType epoch_ = no_epoch; /**< The epoch archetype being collected */
};

/**
* \struct GarbageConfirmMsg
*
* \brief Garbage collection message confirming that all nodes have received the
* epochs to collect
*/
struct GarbageConfirmMsg : vt::collective::ReduceNoneMsg {
// vt_msg_serialize_prohibit();

GarbageConfirmMsg() = default;

/**
* \brief Construct a new garbage confirmation message
*
* \param[in] in_epoch the epoch
*/
explicit GarbageConfirmMsg(EpochType in_epoch)
: epoch_(in_epoch)
{ }

/**
* \brief Get the archetype epoch
*
* \return the epoch
*/
EpochType getEpoch() const { return epoch_; }

private:
EpochType epoch_ = no_epoch; /**< The epoch archetype being collected */
};

}} /* end namespace vt::epoch */

#endif /*INCLUDED_VT_EPOCH_GARBAGE_COLLECT_MSG_H*/

0 comments on commit 165f8c1

Please sign in to comment.