We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3007ee commit 5d12b11Copy full SHA for 5d12b11
csrc/ir/container.cpp
@@ -70,6 +70,10 @@ IrContainer::~IrContainer() {
70
clear();
71
}
72
73
+// Note: clear() does not acquire mutex_. It is only called from the
74
+// destructor and Fusion::copy(), both of which guarantee exclusive access.
75
+// This assumption must be revisited in Phase 3 when containers may be shared
76
+// across threads.
77
void IrContainer::clear() noexcept {
78
FUSER_PERF_SCOPE("IrContainer clear");
79
vals_.clear();
0 commit comments