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

Remove the bootstrap version of 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

      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

            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