Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22437

make THR_THD* variable thread_local

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.5.3
    • Server
    • None

    Description

      Since 10.5 all supported compilers know about C++11 thread_local. It's faster than library implementations like pthread_getspecific(). So, lets optimize access to this variable a little bit by using native TLS implementation.

      Attachments

        Activity

          People

            kevg Eugene Kosov (Inactive)
            kevg Eugene Kosov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.