summaryrefslogtreecommitdiff
path: root/thread.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 /thread.c
parenta7577dbfd3ea53cccf7aaf94208069784ad17791 (diff)
downloadruby-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 7582849767..bb9070f705 100644
--- a/thread.c
+++ b/thread.c
@@ -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;