|
From: | Paul Eggert |
Subject: | Re: Asynchronous DNS |
Date: | Tue, 23 Feb 2016 22:29:45 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Lars Ingebrigtsen wrote:
I wonder whether I should perhaps start rewriting the getaddrinfo_a code to, well, not use getaddrinfo_a, but instead our own function that starts a thread and just calls getaddrinfo/gethostbyname. That would make this stuff work on BSD, Apple and Windows, too, I think?
Should work, yes. But shouldn't this be a Gnulib module? That way, the main part of the Emacs source code could simply assume that getaddrinfo_a works, and a Gnulib substitute would be built on platforms where it doesn't.
[Prev in Thread] | Current Thread | [Next in Thread] |