summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-23 14:09:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-24 11:43:21 +0900
commit6ed6b85ece8733518a7da0c3ec714f20d1102bf5 (patch)
treefc723fdf849cd2bb786cc4a9b4bf46a32b62390e /ext/objspace
parentf755926ddd3b92248f1fcdf977bd8537bff1f1dd (diff)
Expose atomic operation macros with RUBY prefix
Now we need atomic operations, which are lighter than mutex, more widely for extension libraries because of Ractor.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3983
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/depend1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/objspace/depend b/ext/objspace/depend
index 6a89ffc222..d3a702007e 100644
--- a/ext/objspace/depend
+++ b/ext/objspace/depend
@@ -355,6 +355,7 @@ objspace_dump.o: $(RUBY_EXTCONF_H)
objspace_dump.o: $(arch_hdrdir)/ruby/config.h
objspace_dump.o: $(hdrdir)/ruby.h
objspace_dump.o: $(hdrdir)/ruby/assert.h
+objspace_dump.o: $(hdrdir)/ruby/atomic.h
objspace_dump.o: $(hdrdir)/ruby/backward.h
objspace_dump.o: $(hdrdir)/ruby/backward/2/assume.h
objspace_dump.o: $(hdrdir)/ruby/backward/2/attributes.h