diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-06 10:47:20 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-15 11:28:02 +1100 |
commit | 234f07f16cc845128658cc0b39ac681cae5a8fba (patch) | |
tree | 40beeeefc8470d8538b127156f520af648423d02 /py/persistentcode.h | |
parent | 06a12ada48c11a101eb138220cd0e0ca33a612be (diff) | |
download | micropython-234f07f16cc845128658cc0b39ac681cae5a8fba.tar.gz micropython-234f07f16cc845128658cc0b39ac681cae5a8fba.zip |
py/modthread: Use system-provided mutexs for _thread locks.
It's more efficient using the system mutexs instead of synthetic ones with
a busy-wait loop. The system can do proper scheduling and blocking of the
threads waiting on the mutex.
Diffstat (limited to 'py/persistentcode.h')
0 files changed, 0 insertions, 0 deletions