[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Asynchronous DNS
From: |
Lars Ingebrigtsen |
Subject: |
Re: Asynchronous DNS |
Date: |
Thu, 04 Feb 2016 13:22:29 +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. Everything is allocated and freed in the main thread, the
address lookup doesn't need to access anything Lispy, etc. (This is how
the structure of the getaddrinfo_a library already works.)
>> Ok, but it's a problem when debugging in gdb, and not a problem for an
>> Emacs running without gdb?
>
> Only for the former, AFAIK. GDB is complaining about a data structure
> it builds, not about something the executable does.
I see.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Asynchronous DNS, (continued)
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/01
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/01
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/01
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/01
- Re: Asynchronous DNS, Stefan Monnier, 2016/02/02
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/02
- Re: Asynchronous DNS, Stefan Monnier, 2016/02/02
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/02
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/02
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/03
- Re: Asynchronous DNS,
Lars Ingebrigtsen <=
- Re: Asynchronous DNS, Alain Schneble, 2016/02/04
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/04
- Re: Asynchronous DNS, Alain Schneble, 2016/02/04
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/04
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/05
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/05
- Re: Asynchronous DNS, Alain Schneble, 2016/02/13
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/13
- Re: Asynchronous DNS, Alain Schneble, 2016/02/14
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/14