[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10483: [PATCH] cperl-mode: Avoid endless loop
From: |
Lars Ingebrigtsen |
Subject: |
bug#10483: [PATCH] cperl-mode: Avoid endless loop |
Date: |
Fri, 04 Sep 2020 13:59:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> But the advantage of a loop is that you can do something while you
> wait. Whereas if you expose waitpid to Lisp, the Lisp program which
> calls it will be parked inside the call, and the entire Emacs session
> will stall. Or what am I missing?
No, I'm not talking about actually implementing waitpid, but just adding
some utility functions for handling multi-processing in a bit more
convenient way. Starting a process and then waiting until it's done
isn't an unusual thing to do, so a wait-for-process function would be
nice (in this instance).
In general, it would be nice if Emacs grew a rich feature set for
synchronisation (thread and process), perhaps based on futures (or
whatever kids these days are using).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Harald Jörg, 2020/09/01
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Lars Ingebrigtsen, 2020/09/03
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Eli Zaretskii, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Lars Ingebrigtsen, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Andreas Schwab, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Lars Ingebrigtsen, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Eli Zaretskii, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Lars Ingebrigtsen, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Andreas Schwab, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Eli Zaretskii, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop,
Lars Ingebrigtsen <=
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Eli Zaretskii, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Lars Ingebrigtsen, 2020/09/04
- bug#10483: [PATCH] cperl-mode: Avoid endless loop, Andreas Schwab, 2020/09/04