|author||Alan Wu <XrXr@users.noreply.github.com>||2023-03-21 18:16:33 -0400|
|committer||GitHub <firstname.lastname@example.org>||2023-03-21 18:16:33 -0400|
Previously, when there is enough stats that the child process fills up the pipe capacity, the child process would block, with the parent process waiting forever as no one is reading to clear up the pipe. The test timed out in these situations. Use a separate thread in the parent to read from the pipe to unblock the child in these situation. EnvUtil also does this for handling stdout and stderr. I had the test suite deadlock on a Linux VM.
Notes: Merged: https://github.com/ruby/ruby/pull/7578 Merged-By: XrXr
Diffstat (limited to 'ext/psych/lib/psych')
0 files changed, 0 insertions, 0 deletions