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

Investigate optimization of QThread::currentThreadId() for Android emulators

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.0
    • Core: Threads
    • None
    • Android

    Description

      https://codereview.qt-project.org/c/qt/qtbase/+/311434 changed currentThreadId() to use a pthread library call to make sure Qt apps run fine on the emulator.

      Someone should investigate how to optimize the function and use the thread local storage to get the thread id.

      Attachments

        Issue Links

          Activity

            People

              thiago Thiago Macieira
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: