-
Notifications
You must be signed in to change notification settings - Fork 203
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
feat(wasm-bindgen): deadlock detector support #379
Conversation
pinging @Amanieu in case you didn't see it 🙂 |
LGTM, can you squash the commits? |
@Amanieu squashed 🙏 |
I'm surprised worker names are used as an identifier here, worker names are not unique in any way and often left empty. So this deadlock detector will just not work most of the time. Would a PR be acceptable that simply uses an atomic thread counter? |
After looking at this PR again, I noticed that it used Additionally, it wasn't caught because the |
This adds deadlock_detector support for the WASM target.
Instead of
thread_id
I added a conditionalworker_name
field