Details

    Description

      Atomic operations using my_atomic produce pretty convoluted and error prone code. In 10.4 we have C++11 enabled and it provides much cleaner atomic operations API.

      Attachments

        Issue Links

          Activity

            I see that os0once.h and srv0mon.h still have not been converted to use C++11 atomics. Shall we leave those for a later version?

            marko Marko Mäkelä added a comment - I see that os0once.h and srv0mon.h still have not been converted to use C++11 atomics. Shall we leave those for a later version?

            I have WiP patches for os0once.h, which I'm planning to complete soon hopefully.
            srv0mon.h requires larger refactoring and we should probably postpone it.

            svoj Sergey Vojtovich added a comment - I have WiP patches for os0once.h , which I'm planning to complete soon hopefully. srv0mon.h requires larger refactoring and we should probably postpone it.

            The srv0mon.h would be refactored or removed by MDEV-15706 in a later release.

            marko Marko Mäkelä added a comment - The srv0mon.h would be refactored or removed by MDEV-15706 in a later release.

            kevg, could you complete this effort? Specifically get rid of os0once. I pushed 2 WiP patches to bb-10.4-svoj-MDEV-17441.

            svoj Sergey Vojtovich added a comment - kevg , could you complete this effort? Specifically get rid of os0once. I pushed 2 WiP patches to bb-10.4-svoj- MDEV-17441 .

            Looks good. I only had a minor request to replace a comment with a debug assertion.

            marko Marko Mäkelä added a comment - Looks good. I only had a minor request to replace a comment with a debug assertion .

            People

              kevg Eugene Kosov (Inactive)
              svoj Sergey Vojtovich
              Votes:
              1 Vote for this issue
              Watchers:
              4 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.