Add a Counter<T> RAII type for managing shared resources

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.3.11
    • Component/s: Internal Code
    • None
    • Service Arch
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Providing an RAII type that increments on creation and decrements on destruction (with specializations for Atomic word) would make it less error prone to refcount things than the current raw calls to fetchAndAdd(1) fetchAndSubtract(1).

            Assignee:
            [DO NOT USE] Backlog - Service Architecture
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: