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
The root cause appears to be the change from yield to await core.sleep(0) in acquire(). Using yield takes the lock acquiring task out of the task queue and it only gets put back into the task queue by the lock releasing task. Using sleep causes the acquiring task to put itself back into the queue after the sleep finishes and then acquire the lock even though it wasn't yet released because there isn't a check if the lock is available.
CircuitPython version
Code/REPL
Behavior
%Run -c $EDITOR_CONTENT
Acquired lock in task 1
Connection lost (EOF)
Use Stop/Restart to reconnect.
Description
Have identical issue with Event
Additional information
No response
The text was updated successfully, but these errors were encountered: