diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-27 23:56:46 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-03-06 17:01:56 +1100 |
commit | 05fe66f68a1cf1b7587c55149472ab7bca843631 (patch) | |
tree | e2e38a0124db195eb8ae011cd05f2a7316c9b06e /minimal/main.c | |
parent | fe866d996f54df0c5687c94b98abff5410ef02c9 (diff) | |
download | micropython-05fe66f68a1cf1b7587c55149472ab7bca843631.tar.gz micropython-05fe66f68a1cf1b7587c55149472ab7bca843631.zip |
py: Move locals/globals dicts to the thread-specific state.
Each threads needs to have its own private references to its current
locals/globals dicts, otherwise functions running within different
contexts (eg imported from different files) can behave very strangely.
Diffstat (limited to 'minimal/main.c')
0 files changed, 0 insertions, 0 deletions