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

Phase out QThreadStorage

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Core: Threads
    • None
    • QThreadStorage
    • bd510e9bd (dev), 07a15916c (dev)

      QThreadStorage is much harder to use than C++11's thread_local, and with C++17's std::optional, the lazy-initialization aspect of QThreadStorage can also be addressed.

      Q: Why do we still need QThreadStorage?
      A: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562 is not in GCC 9 and 10.

        For Gerrit Dashboard: QTBUG-117850
        # Subject Branch Project Status CR V

            mmutz Marc Mutz
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes