Skip to content

Conversation

klukonin
Copy link

@klukonin klukonin commented Sep 25, 2025

This commit is fixing this issue:
#780
As discussed here https://github.com/orgs/micropython/discussions/13239

Now the pid of child thread will be stored and closed properly. Even with context manager.

@klukonin klukonin changed the title unix-ffi: Fixing behavior to avoid zombie threads unix-ffi: Fixing behavior to avoid zombie threads. Sep 25, 2025
This commit is fixing  this issue:
micropython#780

Now the pid of child thread will be stored and closed properly.
Even with context manager.

Signed-off-by: Kirill Lukonin (Evil Wireless Man) <[email protected]>
@hodan121
Copy link

bump up

@Josverl
Copy link

Josverl commented Oct 20, 2025

It would be good to add a test for this functionality,
that also helps with maintaining stability over time.

Other tests for the ffi module live in the micropython repo under tests/ports/unix

you could take one of the other ffi_ tests as the base, and add example code to it.

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

Successfully merging this pull request may close these issues.

3 participants