Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-103847 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
433460,9 | Get rid of bootstrapped atomics | dev | qt/qtbase | Status: MERGED | +2 | 0 |