Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3

Remove code for atomic_add in skygw_utils.cc

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.0.5, 1.0.6
    • 1.3.0
    • Core
    • None

    Description

      This function in assembly is not portable, for obvious reasons. Also, there are already functions with this name in Linux, so there might be confusions. There is a perfectly good, portable, substitute as a gcc builtin: __sync_fetch_and_add. This should be better and portable and do the right thing even with x86 vs. x86_64 and will also be portable to Power8.

      Attachments

        Activity

          People

            markus makela markus makela
            karlsson Anders Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.