Remove duplicated line of code in thread_sync.c
Some checks failed
Cygwin / make (push) Waiting to run
MinGW / (UCRT64) (push) Waiting to run
Windows / Windows 11-arm/Visual C++ (btest test-basic test-tool) (push) Waiting to run
Windows / Windows 2022/Visual C++ 2022 (check) (push) Waiting to run
Windows / Windows 2025/Visual C++ 2022 (check) (push) Waiting to run
Windows / Windows 2025/Visual C++ 2022 (test-bundled-gems) (push) Waiting to run
Windows / result (push) Blocked by required conditions
Ubuntu on WSL / wsl (push) Waiting to run
BASERUBY Check / BASERUBY (push) Failing after 52s
Compilations / omnibus compilations, trigger (push) Failing after 53s
parse.y / make (test-bundler-parallel) (push) Failing after 56s
Compilations / omnibus compilations, #2 (push) Has been skipped
Compilations / omnibus compilations, #3 (push) Has been skipped
Compilations / omnibus compilations, #7 (push) Has been skipped
Compilations / omnibus compilations, #9 (push) Has been skipped
Compilations / omnibus compilations, #10 (push) Has been skipped
Compilations / omnibus compilations, #12 (push) Has been skipped
Annocheck / test-annocheck (push) Failing after 59s
Check Dependencies / Dependency checks (push) Failing after 56s
CodeQL / Analyze (push) Failing after 56s
Misc / Miscellaneous checks (push) Failing after 1m7s
Update default gems list / Update default gems list (push) Has been skipped
parse.y / make (test-bundled-gems) (push) Failing after 53s
parse.y / make (check) (push) Failing after 55s
Rubyspec Version Guards Check / Rubyspec (push) Failing after 56s
Compilations / omnibus compilations, #1 (push) Has been skipped
WebAssembly / make (map[debugflags: name:O2 optflags:-O2 wasmoptflags:-O2]) (push) Failing after 53s
Compilations / omnibus compilations, #4 (push) Has been skipped
Compilations / omnibus compilations, #5 (push) Has been skipped
Compilations / omnibus compilations, #6 (push) Has been skipped
Compilations / omnibus compilations, #8 (push) Has been skipped
Compilations / omnibus compilations, #11 (push) Has been skipped
Compilations / omnibus compilations, result (push) Successful in 59s

This commit is contained in:
Peter Zhu 2025-08-13 10:00:51 -04:00
parent b0cd89a5b5
commit d025bc230c

View file

@ -374,7 +374,6 @@ do_mutex_lock(VALUE self, int interruptible_p)
rb_ractor_sleeper_threads_dec(th->ractor); rb_ractor_sleeper_threads_dec(th->ractor);
th->status = prev_status; th->status = prev_status;
th->locking_mutex = Qfalse; th->locking_mutex = Qfalse;
th->locking_mutex = Qfalse;
RUBY_DEBUG_LOG("%p wakeup", mutex); RUBY_DEBUG_LOG("%p wakeup", mutex);
} }