Remove SIGCHLD waidpid. (#7527)

* Remove `waitpid_lock` and related code.

* Remove un-necessary test.

* Remove `rb_thread_sleep_interruptible` dead code.
This commit is contained in:
Samuel Williams 2023-03-15 19:48:27 +13:00 committed by GitHub
parent ce47ee00ae
commit 7fd53eeb46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2023-03-15 06:48:47 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>
8 changed files with 6 additions and 328 deletions

View file

@ -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");