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 /thread.c | |
parent | a7577dbfd3ea53cccf7aaf94208069784ad17791 (diff) | |
download | ruby-f626998c4fa62973cac3a027597f97cdacd0d3c5.tar.gz |
Delete autoload data from global features after autoload has completed. (#5910)
* Update naming of critical section assertions macros.
* Improved locking for autoload.
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1563,7 +1563,7 @@ blocking_region_begin(rb_thread_t *th, struct rb_blocking_region_buffer *region, rb_unblock_function_t *ubf, void *arg, int fail_if_interrupted) { #ifdef RUBY_VM_CRITICAL_SECTION - VM_ASSERT(rb_vm_critical_section_entered == 0); + VM_ASSERT(ruby_assert_critical_section_entered == 0); #endif region->prev_status = th->status; |