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

Add std-compatible API to QAtomic

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • P3: Somewhat important
    • Resolution: Unresolved
    • None
    • None
    • Core: Threads
    • 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

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            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