Subject: Re: bug#37408: 27.0.50; list-processes can hang

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 16 Sep 2019 15:20:50 +0200

Eli Zaretskii <[email-masked]> writes:

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

I don't know what a reasonable timeout would be that would cover all
cases where this function may be used, so passing in a timeout might be
the solution.  `list-processes', for instance, don't need the
information for anything other than (minor) display purposes, so it
could pass in zero as a "don't wait" would make sense there.

Checking for `C-g' (and then returning nil if given) would also be a
possibility, but would be less useful for non-interactive use...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no