Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Prevent non-blocking select from making function appear blocking. #1108

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

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

nevkontakte
Copy link
Member

In almost every place compiler checks whether a function is blocking by
checking len(c.Blocking) > 0, so assigning false to the map confuses
the check, causing unnecessary checkpointing prologue and epilogue to be
added to the function.

Fixes #1106.

In almost every place compiler checks whether a function is blocking by
checking `len(c.Blocking) > 0`, so assigning false to the map confuses
the check, causing unnecessary checkpointing prologue and epilogue to be
added to the function.

Fixes gopherjs#1106.
@nevkontakte nevkontakte merged commit 3013d65 into gopherjs:master Feb 21, 2022
@nevkontakte nevkontakte deleted the issue1106 branch April 19, 2022 15:37
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

Successfully merging this pull request may close these issues.

gopherjs deadlock with mqtt/websocket library port
2 participants