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

Process exit code/is_alive unstable #8

Closed
arcivanov opened this issue Apr 25, 2020 · 0 comments · Fixed by #11
Closed

Process exit code/is_alive unstable #8

arcivanov opened this issue Apr 25, 2020 · 0 comments · Fixed by #11
Labels
bug Something isn't working

Comments

@arcivanov
Copy link
Member

arcivanov commented Apr 25, 2020

Either a child process is not dying or the sentinel isn't read properly cause p.is_alive() to return True after p.join(5) returns and p.exitcode is None.

Weird.

self.assertEqual(p.exitcode, 10)

@arcivanov arcivanov added the bug Something isn't working label Apr 25, 2020
arcivanov added a commit that referenced this issue Jan 18, 2022
Don't spawn in a thread pool to cut down on latency
`mp.conn.wait` and `Popen.sentinel` geventified
Patched `spawnv_passfds` adds children to watch list
Increase size of the manager test

fixes #8
arcivanov added a commit that referenced this issue Jan 18, 2022
Don't spawn in a thread pool to cut down on latency
`mp.conn.wait` and `Popen.sentinel` geventified
Patched `spawnv_passfds` adds children to watch list
Increase size of the manager test

fixes #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant