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

question about blocking #4

Open
bluebrown opened this issue Sep 26, 2024 · 0 comments
Open

question about blocking #4

bluebrown opened this issue Sep 26, 2024 · 0 comments

Comments

@bluebrown
Copy link

Hi. I read the code, and I dont see how this is achieving anything. Is the context not only checked, once, upon calling read? If the context hasnt been cancelled at that time, and you actually end up calling read, you may block for a long time, without ever checking the context again. Am I missing something here?

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