-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recv
can lock on dropping
#82
Comments
Yes, the inner mechanism for the One option is to switch Web to |
No, this happened in multi-threaded Wasm context, but still on the main thread and not in a Web worker. |
I can't seem to find the code in
Dynamic detection would be nice, but that would require depending on |
The web code just uses the normal code, I think.
Eh, I'd rather just switch into "lock-free" mode on |
I encountered this while testing stuff on Wasm (cleaned stacktrace):
Which I think boils down to:
Recv
holdingRecvInner
RecvInner
holdingOption<EventListener>
EventListener
holdingInnerListener
InnerListener
drop implementation callingstd::Inner::remove()
std::Inner::remove()
callingstd::inner::lock()
std::inner::lock()
callingMutex::lock()
I think in this case spinlooping makes sense when running on Wasm?
Let me know if this issue should be moved to
event-listener
instead.The text was updated successfully, but these errors were encountered: