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

Please add thread annotations to QMutex

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Core: Threads
    • None

      Hi,

      I would like to perform static analysis of thread safety on a Qt-based codebase, using the thread safety analysis available in both GCC[1] and LLVM[2] (see example "mutex.h" at the bottom).

      To that end, I'd like to propose adding these annotations to QMutex class and related classes (e.g. QMutexLocker).

      Thanks for your consideration!

      [1] https://gcc.gnu.org/wiki/ThreadSafetyAnnotation
      [2] http://clang.llvm.org/docs/ThreadSafetyAnalysis.html

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

            thiago Thiago Macieira
            StepanD Stepan Davidovic
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes