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

fix GetThreadContext call failed in mono GC for unity 5.2.x #1294

Open
wants to merge 1 commit into
base: unity-5.2-staging
Choose a base branch
from

Conversation

loadingcn
Copy link

Backport from commit: 3f39ea8e2e79c4d85db445aef97742eec4d56849

Previous comment:

Calls to GetThreadContext may fail. Work around
this by putting access in suspend/resume loop
to advance thread past problematic areas where
suspend fails. Capture context in per thread
structure rather at suspend time rather than
retreiving during push logic.

Backport from commit: 3f39ea8e2e79c4d85db445aef97742eec4d56849

Previous comment:

Calls to GetThreadContext may fail. Work around
this by putting access in suspend/resume loop
to advance thread past problematic areas where
suspend fails. Capture context in per thread
structure rather at suspend time rather than
retreiving during push logic.
@unity-cla-assistant
Copy link
Collaborator

unity-cla-assistant commented May 20, 2020

CLA assistant check
All committers have signed the CLA.

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.

2 participants