Rule 189p-proc-end
Transitions
(189)
Comments
A process whose task fails ends, whatever its origin, and nothing else happens: there is no error, and no message.
Referred to from
- The comment on rule
p-proc-spawn(Chapter 9)
TeX source
\defnrule[r:p-proc-end]
{P(\pid)=(\tk,s',\pgorig)\\
\tk=\efffail\,v'\ \text{or}\ (\tk=\effsucceed\,v'\ \text{and}\ \pgorig=\pgspawned)}
{(s,v,M,P,\sbv,Q,H)\step{}(s,v,M,P+\{\pid\mapsto\pgended\},\sbv,Q,H)}Tests (2)
- elm / MinimalSpawnTestA spawned process runs, and ends when its task succeeds.
- elm-core / ProcessSpawnedFailureEndsTestA spawned process whose task fails ends quietly, and the program goes on.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:p-proc-end] in its title.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.