Skip to content
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

emit will hang when thread sleep #214

Closed
SSebo opened this issue Aug 10, 2022 · 1 comment
Closed

emit will hang when thread sleep #214

SSebo opened this issue Aug 10, 2022 · 1 comment

Comments

@SSebo
Copy link
Contributor

SSebo commented Aug 10, 2022

this code can show the lock conflict 2b240c6

I add some debug info here d709f6c

@SSebo
Copy link
Contributor Author

SSebo commented Aug 10, 2022

I found maybe the emit and poll lock the same inner
I try to split the sender and receiver to different lock, then emit will not hang.

here is my draft commit: #213

@SSebo SSebo closed this as completed Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant