diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-05-17 00:50:02 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 00:50:02 +1200 |
commit | f626998c4fa62973cac3a027597f97cdacd0d3c5 (patch) | |
tree | 3aa39f13106415581335eff9d08da60e7eab88a1 /vm.c | |
parent | a7577dbfd3ea53cccf7aaf94208069784ad17791 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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*); |