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
Now that I think about it, this panic really shouldn't be happening. Only one thread should be able to call park at a time (since Parker is Send but not Sync), so there shouldn't be a window where the state value is PARKED when fn park() is started.
notgull
added a commit
to smol-rs/event-listener
that referenced
this issue
May 27, 2024
Nevermind, this was just an issue with using std::thread_local instead of loom::thread_local. Still, it might be useful to have an error message for this.
While testing loom permutations on
async-lock
(smol-rs/async-lock#86) I got this error:Not sure why this hasn't cropped up in production yet. Possibilities:
The text was updated successfully, but these errors were encountered: