Page MenuHomePhorge

AwaitAny.cpp
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

AwaitAny.cpp

//===-- app/executionpolicies/AwaitAny.cpp ----------------------*- C++ -*-===//
//
// The RoSA Framework
//
// Distributed under the terms and conditions of the Boost Software License 1.0.
// See accompanying file LICENSE.
//
// If you did not receive a copy of the license file, see
// http://www.boost.org/LICENSE_1_0.txt.
//
//===----------------------------------------------------------------------===//
///
/// \file app/executionpolicies/AwaitAny.cpp
///
/// \author David Juhasz (david.juhasz@tuwien.ac.at)
///
/// \date 2019-2020
///
/// \brief Implementation for app/executionpolicies/AwaitAny.h.
///
//===----------------------------------------------------------------------===//
#include "AwaitAny.h"
#include <algorithm>
namespace rosa {
namespace app {
AwaitAny::AwaitAny(const std::set<size_t> &S)
: AwaitBase(S,
CheckerType(std::any_of<std::set<size_t>::const_iterator,
std::function<bool(const size_t)>>)) {}
std::string AwaitAny::dump(void) const noexcept {
return "Await any of " + dumpS();
}
} // End namespace app
} // End namespace rosa

File Metadata

Mime Type
text/x-c++
Expires
Sun, Mar 1, 8:59 PM (7 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
280804
Default Alt Text
AwaitAny.cpp (1 KB)

Event Timeline