diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-25 15:28:57 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-06-28 11:28:49 +0100 |
commit | c93d9caa8b8be81f7e6faf9f2ca2ad16d4942ab8 (patch) | |
tree | 8bc6f5fd0363d3f7135d1e47d0ba13a5cf7c9a6d /py/modstruct.c | |
parent | 34fc006f5e75f064f3aad9ccc98963dc2fa01e25 (diff) | |
download | micropython-c93d9caa8b8be81f7e6faf9f2ca2ad16d4942ab8.tar.gz micropython-c93d9caa8b8be81f7e6faf9f2ca2ad16d4942ab8.zip |
py/gc: Make memory manager and garbage collector thread safe.
By using a single, global mutex, all memory-related functions (alloc,
free, realloc, collect, etc) are made thread safe. This means that only
one thread can be in such a function at any one time.
Diffstat (limited to 'py/modstruct.c')
0 files changed, 0 insertions, 0 deletions