[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
- Re: Asynchronous DNS, (continued)
- Re: Asynchronous DNS, John Wiegley, 2016/02/24
- Re: Asynchronous DNS, Alain Schneble, 2016/02/21
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/21
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/20
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/15
- Re: Asynchronous DNS, Alain Schneble, 2016/02/05
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/04
- Re: Asynchronous DNS,
Lars Ingebrigtsen <=
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/05
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/02
- Re: Asynchronous DNS, Alain Schneble, 2016/02/02
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/02
- Re: Asynchronous DNS, Alain Schneble, 2016/02/02
- Re: Asynchronous DNS, Alain Schneble, 2016/02/02
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/02
- Re: Asynchronous DNS, Yuri Khan, 2016/02/03
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/03