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

Windows support to abort blocking system calls. (#12654) #1131

Merged
merged 1 commit into from
Feb 8, 2019

Conversation

UnityAlex
Copy link
Collaborator

@UnityAlex UnityAlex commented Feb 5, 2019

  • Fix race condtion in socket altertable wait implementation on Windows.

  • Add support to abort blocking Windows mono_w32file_read/write methods.

Release note:
Mono: Fixes race condition that would cause a hang when using threaded C# sockets. (case 1028819)

* Fix race condtion in socket altertable wait implementation on Windows.

* Add support to abort blocking Windows mono_w32file_read/write methods.
@joshpeterson
Copy link

Does this fix a bug on the Unity side as well?

@UnityAlex
Copy link
Collaborator Author

Yes it will fix this case: https://fogbugz.unity3d.com/f/cases/1028819

and probably this one too: https://fogbugz.unity3d.com/f/cases/1054137/

@joshpeterson
Copy link

Cool! Can you add release notes for those fixes to this PR?

@UnityAlex UnityAlex merged commit e5c856b into unity-master Feb 8, 2019
@UnityAlex UnityAlex deleted the unity-master-fix-win-socket-race-condition branch February 8, 2019 12:42
joncham added a commit that referenced this pull request Feb 13, 2019
Revert part of #1131
as it causes hangs in calls to CancelSynchronousIo
joncham added a commit that referenced this pull request Mar 4, 2019
Revert part of #1131
as it causes hangs in calls to CancelSynchronousIo
UnityAlex pushed a commit that referenced this pull request Jan 11, 2021
Revert part of #1131
as it causes hangs in calls to CancelSynchronousIo
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.

4 participants