You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two fixes:
- Use a recursive mutex to prevent deadlocks on the same thread, if an IRQ
races against the thread level when acquiring the lock (mutex may be
taken but IRQs not yet disabled).
- Unlock the mutex if it was locked, not if core1_entry is still non-null,
to fix the case where the second core finishes while the first core is
in the middle of an atomic operation.
Signed-off-by: Damien George <damien@micropython.org>
0 commit comments