On Fri, 12 Dec 2025 09:15:21 GMT, Michael McMahon <[email protected]> wrote:

> > Have you verified that a pthread_kill of a thread blocked in getaddrinfo 
> > returns EAI_SYSTEM with errno=EINTR? I can't be sure from the man page.
> 
> I will try to verify that.

Test was inconclusive. Interrupting getaddrinfo() with a non restarting signal 
executes the signal handler and automatically restarts the blocking call 
(probably recv() ) so EINTR is not being returned.
It's likely that the glibc implementation of getaddrinfo() is just restarting 
the call itself. I think it still makes sense to test for EINTR regardless.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28750#discussion_r2623424783

Reply via email to