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

Revise threading model of DOM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Some future release
    • QML: Tooling
    • None

    Description

      Currently DOM has multiple sync points based on mutexes and lot's of shared_ptr's (managed values of which are not thread-safe) stored in maps of DomEnvironment and DomUniverse.

      Taking into account that DOM is indeed being used in the multi-threaded environments. It would be helpful to:

      1. Figure out the usecases and thread management
      2. Improve explicitness of the sync points
      3. Improve thread-safety. There might be potential data-races / deadlocks, we're not aware of
      4. Reconsider thread sync approach. maybe we can do everything in lock-free manner
      5. smth else

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            dima.a Dmitrii Akshintsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes