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

Remove the bootstrap version of QAtomic

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Core: Threads
    • None

    Description

      Remove the indirection through QAtomicOps and ditch the bootstrap version of QAtomic, leaving only the C++11 version, which then should be inlined into qbasicatomic.h. Only moc and automoc remain as bootstrapped tools, and at least libstdc++ already optimizes std::atomic<> to lock-less versions if the application is single-threaded, so there's no benefit from carrying this now-unnecessary abstraction.

      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