[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37408: 27.0.50; list-processes can hang
From: |
Lars Ingebrigtsen |
Subject: |
bug#37408: 27.0.50; list-processes can hang |
Date: |
Mon, 16 Sep 2019 15:20:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> 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