When the registerred unblock function is called, it should retry
the cancelled blocking function if possible after checkints.
For example, SIGCHLD can cancel this method, but it should not
raise any exception if there is no trap handlers.
The following is repro-code:
require'socket'PN=10_0001000000.times{p_1PN.times{fork{sleeprand(0.3)}}i=0whilei<PNcpid=Process.wait-1,Process::WNOHANGifcpid# p [i, cpid]i+=1endbeginTCPServer.new(nil,0).closerescuep$!exit!endend}
retry on cancelling of
getaddrinfo
When the registerred unblock function is called, it should retry
the cancelled blocking function if possible after checkints.
For example,
SIGCHLD
can cancel this method, but it should notraise any exception if there is no trap handlers.
The following is repro-code: