Skip to content
Discussion options

You must be logged in to vote

it looks the root cause does relate to globals map rehashing

Aha, in that case: apologies, my guess wrt threads was wrong then.

Can you teach why main thread can exit before ...

In general: the threads in MicroPython are threads impleneted in C. So if the main script exits, the main thread is still running C code to cleanup MicroPython objects and whatnot. While at the same time the other thread can also still be running the other MicroPython code. I.e. it's not because the last line of Python code in the main thread has executed that all other threads stop right at that point.

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@yf13
Comment options

@yf13
Comment options

@stinos
Comment options

@yf13
Comment options

@stinos
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yf13
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yf13
Comment options

Answer selected by yf13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants