Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103888

Add std-compatible API to QAtomic

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core: Threads
    • Labels:
      None

      Description

      1. Add the std-compatible methods to QAtomic, to allow accessing the full API of the underlying types (e.g. mixed memory orders for compare_exchange).
      2. Write a clazy (or clang-tidy)-based porting tool to do the mechanical leg work of, e.g. storeRelease(x)store(x, std::memory_order_release).
      3. Run the tool on all Qt modules.
      4. Add an opt-in mechanism to disable the non-std parts of the QAtomic API

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            cnn Qt Core & Network
            Reporter:
            mmutz Marc Mutz
            PM Owner:
            Vladimir Minenko Vladimir Minenko
            RnD Owner:
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes