Skip to content

[FEAT] Set parent process to stop creating any new child process if error occurs #287

@SEAJang

Description

@SEAJang

Requested Feature/Enhancement

Prevent any new processes from being created if one of the child process (a single program run) encounters a fatal error while simulating.

Need for feature/Enhancement

This is needed because there are cases where one of the parameterized programs cause an error, however, the simulator will continue to run because the exit called is within the child process

Problem to solve

No response

Implementation Ideas

Create a lock for a flag that only the parent(main) run script knows about, and the child programs all inherit, and can only set to true. When the child processes re-join the parent, do a check to ensure the flag is set to false, if set to true, force exist the simulator and don't create new processes.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions