Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper handling of LVE process termination on Linux #3

Open
d94pn opened this issue Jul 7, 2023 · 1 comment
Open

Proper handling of LVE process termination on Linux #3

d94pn opened this issue Jul 7, 2023 · 1 comment

Comments

@d94pn
Copy link

d94pn commented Jul 7, 2023

When calling

mlle_start_executable

a child process is spawned but the PID is not considered and there is no corresponding mlle_stop_executable or similar that calls wait or waitpid for the exiting child process, as far as I can see. This will normally leave zombie process where the chilld process (here the LVE) is wating for its parent to acknowledge its exiting. Is this merely neglected or have you any other means to avoid this?
I've not checked this on Windows so I don't know the status there.

@axelmartenssonmodelon
Copy link
Contributor

This would be needed for the use case where the tool needs to unload a library without exiting. We have not considered this use case. Would you be interested in contributing with a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants