Skip to content

sem: refine actor lifecycle #13

Open
@knz

Description

@knz

Today the actor enters at the start of the play and leaves at the end.
It would be useful to tighten the relationship between actors and (a group of) processes by allowing an actor to only enter the stage later into the script, and leave before the end (possibly repeatedly).

To achieve this:

  • each actor would have an "intrat" and "exit" action
  • the compiler would compute stage presence and reject invalid interleaves
  • command execution would record PIDs / PGIDs
  • cleanup actions could enforce process kills

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions