[DGD] Rewriting the main loop

Raymond Jennings shentino at gmail.com
Thu Nov 29 11:21:40 CET 2018


Could you elaborate please?

I'm assuming you mean getting so busy with I/O that callouts are
indefinitely deferred, or that the higher tasks will chew up so much CPU
that the lower stuff never gets done.

I'm aware of some starvation issues but if your elaboration hits something
I missed it'd be great.

On Thu, Nov 29, 2018 at 12:51 AM Felix A. Croes <felix at dworkin.nl> wrote:

> Raymond Jennings <shentino at gmail.com> wrote:
>
> > I rewrote dgd's main loop in a strict priority, with higher steps taking
> > strict precedence over those below, enforced by restarting the main loop
> > and not allowing lower priority tasks until the higher ones are
> completed.
>
> You are going to have issues with starvation.
>
> Regards,
> Felix Croes
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd



More information about the DGD mailing list