Leveraging second core, code hangs

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Leveraging second core, code hangs

Post by pythoncoder » Mon Nov 15, 2021 9:18 am

@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.

Post Reply