diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-06 15:13:30 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-15 13:28:48 +1100 |
commit | 05a4859585c4e0a55fca2e7467ba70da6453fdcb (patch) | |
tree | 70d87f5ac3437b2e46e5b4d2d7b29b9ecced3776 /stmhal/usbd_cdc_interface.c | |
parent | f6c22a06797735e4a65a91491d8373ba951a798b (diff) | |
download | micropython-05a4859585c4e0a55fca2e7467ba70da6453fdcb.tar.gz micropython-05a4859585c4e0a55fca2e7467ba70da6453fdcb.zip |
stmhal: Implement a proper thread scheduler.
This patch changes the threading implementation from simple round-robin
with busy waits on mutexs, to proper scheduling whereby threads that are
waiting on a mutex are only scheduled when the mutex becomes available.
Diffstat (limited to 'stmhal/usbd_cdc_interface.c')
0 files changed, 0 insertions, 0 deletions