We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05901b4 commit e0b8572Copy full SHA for e0b8572
1 file changed
src/FileEngine.cpp
@@ -219,6 +219,11 @@ void FileEngine::end_sub_transaction()
219
transport->clear_to_read_in_transaction(self);
220
221
XBT_DEBUG("All on-flight subscribe activities are completed.");
222
+
223
+ // This is the end of the first transaction, create a barrier
224
+ if (auto sub_barrier = get_subscribers().get_or_create_barrier())
225
+ XBT_DEBUG("Barrier created for %zu subscribers", get_subscribers().count());
226
227
// Mark this transaction as over
228
sub_transaction_in_progress_ = false;
229
}
0 commit comments