bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#37408: 27.0.50; list-processes can hang


From: Eli Zaretskii
Subject: bug#37408: 27.0.50; list-processes can hang
Date: Sun, 15 Sep 2019 17:54:57 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sun, 15 Sep 2019 14:25:48 +0200
> 
> If PROCESS is a non-blocking network process that hasn't been fully
> set up yet, this function will block until socket setup has completed.  */)
> 
> [...]
> 
>   if (NETCONN_P (process))
>     wait_for_socket_fds (process, "process-contact");
> 
> So this function is advertised as blocking if called on an incompletely
> set-up connection, which seems to be the case here.  And it's never
> going to be completed, which can happen...
> 
> I'm not sure what the right fix here would be.

Wait with a timeout? check for C-g while waiting?





reply via email to

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