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

[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





reply via email to

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