Searched refs:maybe_barrier (Results 1 – 1 of 1) sorted by relevance
322 std::optional<Barrier> maybe_barrier; // Avoid constructing the Barrier for `wait == false`. in MakeInitializedClassesVisiblyInitialized() local324 maybe_barrier.emplace(0); in MakeInitializedClassesVisiblyInitialized()335 DCHECK(maybe_barrier.has_value()); in MakeInitializedClassesVisiblyInitialized()336 Barrier* barrier = std::addressof(*maybe_barrier); in MakeInitializedClassesVisiblyInitialized()347 DCHECK(maybe_barrier.has_value()); in MakeInitializedClassesVisiblyInitialized()348 maybe_barrier->Increment(self, wait_count); in MakeInitializedClassesVisiblyInitialized()