Skip to content

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

Open
loadingcn wants to merge 1 commit intoUnity-Technologies:unity-5.2-stagingfrom
loadingcn:unity-5.2-staging
Open

fix GetThreadContext call failed in mono GC for unity 5.2.x#1294
loadingcn wants to merge 1 commit intoUnity-Technologies:unity-5.2-stagingfrom
loadingcn:unity-5.2-staging

Conversation

@loadingcn
Copy link
Copy Markdown

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
Copy Markdown
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