[Top][All Lists]

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

Re: Fun with async processes

From: Emanuel Berg
Subject: Re: Fun with async processes
Date: Mon, 31 Jan 2022 19:11:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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/.

A dedicated resource server/scheduler ... it _is_ busy, doing
it's intended thing :)

But this type of overhead is a very common solution so by all
means ...

underground experts united

reply via email to

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