Leveraging second core, code hangs
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Leveraging second core, code hangs
@Zoot What you say is correct, however the _thread module does have a lock object (see _thread.allocate_lock). This should be used to protect shared data structures.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.