summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2022-05-17 00:50:02 +1200
committerGitHub <noreply@github.com>2022-05-17 00:50:02 +1200
commitf626998c4fa62973cac3a027597f97cdacd0d3c5 (patch)
tree3aa39f13106415581335eff9d08da60e7eab88a1 /vm.c
parenta7577dbfd3ea53cccf7aaf94208069784ad17791 (diff)
Delete autoload data from global features after autoload has completed. (#5910)
* Update naming of critical section assertions macros. * Improved locking for autoload.
Notes
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index c0309c7f61..821db8bfcc 100644
--- a/vm.c
+++ b/vm.c
@@ -48,8 +48,8 @@
#endif
#include "probes_helper.h"
-#ifdef RUBY_VM_CRITICAL_SECTION
-int rb_vm_critical_section_entered = 0;
+#ifdef RUBY_ASSERT_CRITICAL_SECTION
+int ruby_assert_critical_section_entered = 0;
#endif
VALUE rb_str_concat_literals(size_t, const VALUE*);