We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4031beb commit 24f7829Copy full SHA for 24f7829
thread.c
@@ -1474,7 +1474,7 @@ static inline int
1474
blocking_region_begin(rb_thread_t *th, struct rb_blocking_region_buffer *region,
1475
rb_unblock_function_t *ubf, void *arg, int fail_if_interrupted)
1476
{
1477
-#ifdef RUBY_VM_CRITICAL_SECTION
+#ifdef RUBY_ASSERT_CRITICAL_SECTION
1478
VM_ASSERT(ruby_assert_critical_section_entered == 0);
1479
#endif
1480
VM_ASSERT(th == GET_THREAD());
0 commit comments