summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2023-03-09 16:05:47 +1300
committerGitHub <noreply@github.com>2023-03-09 16:05:47 +1300
commit1658e7d96696a656d9bd0a0c84c82cde86914ba2 (patch)
tree8557b08cb8650da57dc69457c6aab1918fb75c45 /thread_win32.c
parentea8b5e7359cf88ce02f30d6ac4beb6e4cb6dcb78 (diff)
downloadruby-1658e7d96696a656d9bd0a0c84c82cde86914ba2.tar.gz
Remove SIGCHLD `waidpid`. (#7476)
* 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");