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: tomas
Subject: Re: Fun with async processes
Date: Mon, 31 Jan 2022 18:49:16 +0100

On Mon, Jan 31, 2022 at 06:11:44PM +0100, Emanuel Berg via Users list for the 
GNU Emacs text editor wrote:
> tomas wrote:
> 
> > 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).
> 
> Won't that move the "busy wait" to the global sentinel?

No. Assume you are interested in 12 processes: that "global sentinel"
would be called 12 times. The busy wait, as envisioned, gets called
10 times /per second/.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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