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

Review the Qt classes in terms of reentrancy / thread-safety

    XMLWordPrintable

Details

    Description

      Qt documentation assume, that if a class isn't marked explicitly as thread-safe / reentrant the user can't assume it is. However, in fact Qt docs for many classes don't mark them as e.g. reentrant, while they are reentrant in fact. Examples of classes that miss the reentrancy marker:

      QLocalServer
      QLocalSocket
      QEventLoop
      QThread
      QTimer (only selected static methods are marked reentrant, but the whole class seems reentrant too)
      QPlainTextDocumentLayout (as its direct superclass QAbstractTextDocumentLayout is marked as reentrant)

      Most probably there are more.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            jkobus Jarek Kobus
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes