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

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

Re: Fun with async processes


From: Manuel Giraud
Subject: Re: Fun with async processes
Date: Tue, 01 Feb 2022 09:54:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix)

<tomas@tuxteam.de> writes:

> An obvious approach is to have each sentinel call a "global" sentinel
> which checks whether there are any processes still running (akin to your
> myrun, only that it just gets called after each process's
> termination).

So I have to have an external variable that lists all the processes?

> Alternatively (this is typically the approach I take) is to have one
> sentinel (taking an arg) for all processes of interest. Then I call a
> closure with that one parameter set to distinguish among the
> "clients".

Do you have an example or somewhere to look at in emacs for this
approach? Thanks.
-- 
Manuel Giraud



reply via email to

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