We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9d1298 commit 44cf707Copy full SHA for 44cf707
runtime/include/alaska/BarrierManager.hpp
@@ -13,6 +13,10 @@ namespace alaska {
13
// core runtime's capabilities.
14
//
15
// This class also records some statistics about barrier events as they occur.
16
+ // The only requirement of this class is that when `::begin()` returns, all pinned handles must
17
+ // be marked as such, and when `::end()` returns they should be released. The core runtime relies
18
+ // on this to be the case for safe operation. If the user of the core runtime does not need to
19
+ // pin any handles, the barrier does not need to do anything.
20
struct BarrierManager {
21
virtual ~BarrierManager() = default;
22
virtual void begin(void) = 0;
0 commit comments