Parcourir la source

[2850] Update comment that it doesn't actually fail

Mukund Sivaraman il y a 12 ans
Parent
commit
c312fa4f48
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/lib/util/memory_segment_mapped.cc

+ 2 - 1
src/lib/util/memory_segment_mapped.cc

@@ -141,7 +141,8 @@ struct MemorySegmentMapped::Impl {
         if (!read_only_) {
             // Reserve a named address for use during
             // setNamedAddress(). Though this will almost always succeed
-            // during construction, it may fail later during a call from
+            // on the first try during construction, it may require
+            // multiple attempts later during a call from
             // allMemoryDeallocated() when the segment has been in use
             // for a while.
             while (true) {