Browse Source
This prevents issues with concurrent access to the ringbuf. MICROPY_BEGIN_ATOMIC_SECTION is only atomic to the same core. We could address this with a mutex, but it's also not safe to call mp_sched_schedule across cores.pull/5223/head
Jim Mussared
5 years ago
committed by
Damien George
1 changed files with 7 additions and 0 deletions
Loading…
Reference in new issue