Re: Ichbiah 2022 compiler mode

Liste des GroupesRevenir à cl ada 
Sujet : Re: Ichbiah 2022 compiler mode
De : niklas.holsti (at) *nospam* tidorum.invalid (Niklas Holsti)
Groupes : comp.lang.ada
Date : 12. Sep 2024, 13:35:27
Autres entêtes
Organisation : Tidorum Ltd
Message-ID : <lkg1vvF1tp6U1@mid.individual.net>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
On 2024-09-12 12:04, J-P. Rosen wrote:
   [...]

Well, tasks are not only for speeding up code. They can be a very useful design tool (active objects, independant activities). I think the Ada model is clean and simple, I would hate to see it disappear.
I agree.

I'm less certain about the value of priorities, [...]

Priorities are just optimization on how to manage cores when there are not enough of them.
In some contexts it could be optimization -- for example, to increase throughput in a soft real-time system -- but in hard real-time systems priorities (or deadlines) are needed for correctness, not just for optimizatiion.

I know that people use priorities to guarantee mutual exclusion, and other properties. All these algorithms were designed at the time of mono-CPU machines, but they fail on multi-cores.
In SW for multi-core systems it can be beneficial to collect tasks that frequently interact with each other or with the same single-user resources in the same core, and then the mono-core mutual-exclusion algorithms like priority ceiling inheritance can be used for that group of tasks, while using other algorithms for mutual exclusion between tasks running in different cores.

Date Sujet#  Auteur
5 Sep 24 * Ichbiah 2022 compiler mode30Kevin Chadwick
5 Sep 24 +* Re: Ichbiah 2022 compiler mode6Jeffrey R.Carter
5 Sep 24 i+* Re: Ichbiah 2022 compiler mode2Bill Findlay
5 Sep 24 ii`- Re: Ichbiah 2022 compiler mode1Jeffrey R.Carter
5 Sep 24 i+- Re: Ichbiah 2022 compiler mode1Kevin Chadwick
5 Sep 24 i`* Re: Ichbiah 2022 compiler mode2Kevin Chadwick
5 Sep 24 i `- Re: Ichbiah 2022 compiler mode1Jeffrey R.Carter
6 Sep 24 +* Re: Ichbiah 2022 compiler mode21Randy Brukardt
6 Sep 24 i+* Re: Ichbiah 2022 compiler mode5Lawrence D'Oliveiro
12 Sep 24 ii`* Re: Ichbiah 2022 compiler mode4Randy Brukardt
13 Sep 24 ii `* Re: Ichbiah 2022 compiler mode3Lawrence D'Oliveiro
14 Sep 24 ii  `* Re: Ichbiah 2022 compiler mode2Randy Brukardt
14 Sep 24 ii   `- Re: Ichbiah 2022 compiler mode1Lawrence D'Oliveiro
6 Sep 24 i`* Re: Ichbiah 2022 compiler mode15Simon Wright
7 Sep 24 i `* Re: Ichbiah 2022 compiler mode14Niklas Holsti
7 Sep 24 i  +- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester
12 Sep 24 i  `* Re: Ichbiah 2022 compiler mode12Randy Brukardt
12 Sep 24 i   +* Re: Ichbiah 2022 compiler mode5Niklas Holsti
12 Sep 24 i   i+- Re: Ichbiah 2022 compiler mode1Dmitry A. Kazakov
12 Sep 24 i   i`* Re: Ichbiah 2022 compiler mode3Kevin Chadwick
12 Sep 24 i   i +- Re: Ichbiah 2022 compiler mode1Niklas Holsti
13 Sep 24 i   i `- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester
12 Sep 24 i   `* Re: Ichbiah 2022 compiler mode6J-P. Rosen
12 Sep 24 i    `* Re: Ichbiah 2022 compiler mode5Niklas Holsti
14 Sep 24 i     `* Re: Ichbiah 2022 compiler mode4Randy Brukardt
14 Sep 24 i      +- Re: Ichbiah 2022 compiler mode1Dmitry A. Kazakov
14 Sep 24 i      +- Re: Ichbiah 2022 compiler mode1Lawrence D'Oliveiro
14 Sep 24 i      `- Re: Ichbiah 2022 compiler mode1Niklas Holsti
6 Sep 24 `* Re: Ichbiah 2022 compiler mode2Jeffrey R.Carter
6 Sep 24  `- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal