emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous DNS


From: Lars Ingebrigtsen
Subject: Re: Asynchronous DNS
Date: Fri, 05 Feb 2016 13:31:07 +1100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> > If we introduce such a thread, its code needs to be carefully audited
>> > for the above-mentioned gotchas.  E.g., passing to it a C pointer to a
>> > contents of a Lisp string is probably unsafe.  It's not rocket science
>> > to DTRT in this case (we already do that quite a lot on MS-Windows),
>> > it just requires very careful programming and code review.
>> 
>> Sure.  But I think that for the getaddrinfo_a thing, it really is that
>> simple.
>
> In that case, we don't launch threads of our own; libc does.  So
> that's not the case I was talking about.

I was talking about replacing the call to getaddrinfo_a with our own
thing, where we would spawn our own thread.  And that replacement would
be that simple, as I think I've said a few times now.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]