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: 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



reply via email to

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