Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose atomic operation macros with RUBY prefix #3983

Merged
merged 2 commits into from Dec 24, 2020
Merged

Conversation

@nobu
Copy link
Member

@nobu nobu commented Dec 23, 2020

Now we need atomic operations, which are lighter than mutex, more widely for extension libraries because of Ractor.

Feature #17433

@nobu nobu force-pushed the nobu:expose-ruby_atomic branch 2 times, most recently from c888fd7 to d316aa2 Dec 23, 2020
nobu added 2 commits Dec 23, 2020
Now we need atomic operations, which are lighter than mutex, more
widely for extension libraries because of Ractor.
@nobu nobu requested review from shyouhei and ko1 Dec 23, 2020
@nobu nobu force-pushed the nobu:expose-ruby_atomic branch from d316aa2 to 458b7ed Dec 23, 2020
@nobu nobu requested a review from marcandre Dec 23, 2020
Copy link
Member

@marcandre marcandre left a comment

Very good!
I'll try and add documentation later

@nobu nobu merged commit 66719d7 into ruby:master Dec 24, 2020
62 checks passed
62 checks passed
BASERUBY (ruby-2.2)
Details
update-deps (ubuntu-20.04)
Details
CodeQL-Build CodeQL-Build
Details
gcc-10
Details
make (check, --jit)
Details
make (check)
Details
checks
Details
check_branch
Details
Rubyspec (ruby-2.5)
Details
make (check, ubuntu-20.04)
Details
make (test, windows-2019, 2019)
Details
make (check)
Details
BASERUBY (ruby-2.7)
Details
update-deps (macos-latest)
Details
gcc-4.8
Details
make (check, --jit-wait)
Details
Rubyspec (ruby-2.7)
Details
make (check, ubuntu-20.04, -DRUBY_DEBUG)
Details
make (test-bundler-parallel)
Details
clang-12
Details
make (test-bundler-parallel, ubuntu-20.04)
Details
make (test-bundled-gems)
Details
clang-3.9
Details
make (test-bundler-parallel, ubuntu-20.04, -DRUBY_DEBUG)
Details
make (leaked-globals)
Details
aarch64-linux-gnu
Details
make (test-bundled-gems, ubuntu-20.04)
Details
powerpc64le-linux-gnu
Details
make (test-bundled-gems, ubuntu-20.04, -DRUBY_DEBUG)
Details
s390x-linux-gnu
Details
make (test-all TESTS=--repeat-count=2, ubuntu-20.04)
Details
x86_64-w64-mingw32
Details
make (leaked-globals, ubuntu-20.04)
Details
c99
Details
c2x
Details
c++98
Details
c++2a
Details
-O0
Details
gmp
Details
jemalloc
Details
valgrind
Details
coroutine=ucontext
Details
coroutine=copy
Details
disable-jit-support
Details
disable-dln
Details
disable-rubygems
Details
OPT_THREADED_CODE=1
Details
OPT_THREADED_CODE=2
Details
OPT_THREADED_CODE=3
Details
NDEBUG
Details
RUBY_DEBUG
Details
USE_EMBED_CI=0
Details
USE_FLONUM=0
Details
USE_LAZY_LOAD
Details
DEBUG_FIND_TIME_NUMGUESS
Details
DEBUG_INTEGER_PACK
Details
ENABLE_PATH_CHECK
Details
GC_DEBUG_STRESS_TO_CLASS
Details
MJIT_FORCE_ENABLE
Details
CodeQL No new alerts
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.