diff options
author | Koichi Sasada <ko1@atdot.net> | 2021-12-14 17:28:25 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2021-12-15 15:04:34 +0900 |
commit | 0eafba36103f5526c489fc5dd3d958d97e11a2c2 (patch) | |
tree | 965f5f53b7cf9a3a2a715fee61a1bb93a953172f /common.mk | |
parent | a4a3528eb7cf8d085a53bd34dafe2e59059b4d1b (diff) |
use `RB_VM_LOCK_ENTER()`
We found that we need to make Ruby objects while locking the environ
to ENV operation atomically, so we decided to use `RB_VM_LOCK_ENTER()`
instead of `env_lock`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5263
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7180,6 +7180,8 @@ hash.$(OBJEXT): {$(VPATH)}symbol.h hash.$(OBJEXT): {$(VPATH)}thread_native.h hash.$(OBJEXT): {$(VPATH)}transient_heap.h hash.$(OBJEXT): {$(VPATH)}util.h +hash.$(OBJEXT): {$(VPATH)}vm_debug.h +hash.$(OBJEXT): {$(VPATH)}vm_sync.h inits.$(OBJEXT): $(hdrdir)/ruby.h inits.$(OBJEXT): $(hdrdir)/ruby/ruby.h inits.$(OBJEXT): $(top_srcdir)/internal/compilers.h |