it says:
Code: Select all
Only one thread can be started/running at any one time, because there is no RTOS just a second core. The GIL is not
enabled so both core0 and core1 can run Python code concurrently, with care to use locks for shared data
However I do not know how to lock shared data or if I even should.
I also assumed that the main program runs on one core and if I start the extra thread it will run on the other core. Is that assumption correct?