diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-11-02 11:57:31 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-11-02 12:04:52 +0900 |
| commit | 24f7829abfd29fc226e38829caaecaa76885afbf (patch) | |
| tree | f330315a659d93f0bb6cfb8ecdbb00ea0371110f /thread.c | |
| parent | 4031beb0836a04ac9a8824c8ce63d1571ff76948 (diff) | |
Fix the conditional macro name [ci skip]
`RUBY_VM_CRITICAL_SECTION` is not used anywhere.
Diffstat (limited to 'thread.c')
| -rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1474,7 +1474,7 @@ static inline int 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 +#ifdef RUBY_ASSERT_CRITICAL_SECTION VM_ASSERT(ruby_assert_critical_section_entered == 0); #endif VM_ASSERT(th == GET_THREAD()); |
