summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2023-03-15 19:48:27 +1300
committerGitHub <noreply@github.com>2023-03-15 19:48:27 +1300
commit7fd53eeb46db261bbc20025cdab70096245a5cbe (patch)
tree49d8705a22f3c8e872469a950991bf1cbe65bfae /thread_win32.c
parentce47ee00ae295b31dc023afb935a60ecc39a1f4b (diff)
downloadruby-7fd53eeb46db261bbc20025cdab70096245a5cbe.tar.gz
Remove SIGCHLD `waidpid`. (#7527)
* Remove `waitpid_lock` and related code. * Remove un-necessary test. * Remove `rb_thread_sleep_interruptible` dead code.
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c
index b5d10e2200..77953d3245 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -753,7 +753,6 @@ timer_thread_func(void *dummy)
while (WaitForSingleObject(timer_thread.lock,
TIME_QUANTUM_USEC/1000) == WAIT_TIMEOUT) {
vm->clock++;
- ruby_sigchld_handler(vm); /* probably no-op */
rb_threadptr_check_signal(vm->ractor.main_thread);
}
RUBY_DEBUG_LOG("end");