[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 19:55:55 +1100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
Alain Schneble <address@hidden> writes:
> Given the case where any number of async DNS requests are still
> pending and the (OS) process is to be terminated, it should explicitly
> cancel all pending requests before its last heartbeat. For me, this
> sounds like best practice.
It sounds like strange practice to me. >"? The OS will clean up
everything, no matter whether we're using threads or not. If not, the
OS would be pretty fragile.
> Furthermore, in your proposal, processes with pending DNS requests are
> maintained in a separate list `dns_processes'. If a LISP process gets
> deleted by a call to `delete-process', and DNS requests are still
> pending for it, it might be that `connect_network_socket' will be called
> even though the process has been deleted.
That sounds like a bug. I'll get fixin'.
--
(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, 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, 2016/02/03
- Re: Asynchronous DNS, Alain Schneble, 2016/02/04
- Re: Asynchronous DNS,
Lars Ingebrigtsen <=
- 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
- Re: Asynchronous DNS, Alain Schneble, 2016/02/16
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/19