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

Allow blocking socket simulation on multiple threads simultaneously #13405

Merged
merged 3 commits into from
Sep 8, 2020

Conversation

anr2me
Copy link
Collaborator

@anr2me anr2me commented Sep 8, 2020

It seems it's allowed to have blocking Recv on one thread, while having the same socket to Send on another thread.

@anr2me anr2me marked this pull request as draft September 8, 2020 09:56
@anr2me anr2me marked this pull request as ready for review September 8, 2020 12:43
@hrydgard
Copy link
Owner

hrydgard commented Sep 8, 2020

Ready to go? I can't say I understand everything that's going on here exactly, but looks sensible :)

@hrydgard hrydgard added this to the v1.11.0 milestone Sep 8, 2020
@anr2me
Copy link
Collaborator Author

anr2me commented Sep 8, 2020

I think it's ready, although i wasn't sure whether the flags should be reset after the alert triggered or not, but doesn't seems to have any issue so far.

@hrydgard hrydgard merged commit 40272ff into hrydgard:master Sep 8, 2020
@anr2me anr2me deleted the net_blocking branch September 9, 2020 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants