Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-794

The non-template __rw_atomic_xxx() functions should accept the volatile reference

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.1.2, 4.1.3, 4.1.4, 4.2.0
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      All

    • Severity:
      Inefficiency

      Description

      Currently the __rw_atomic_xxx() functions are accepting the non-volatile reference as parameter. And if volatile reference is passed, the template version of __rw_atomic_xxx() (implemented with using the mutex object) is used.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                farid Farid Zaripov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified