Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Remove usage of getcontext #2254

Merged
merged 1 commit into from
Dec 7, 2015
Merged

Remove usage of getcontext #2254

merged 1 commit into from
Dec 7, 2015

Conversation

benpye
Copy link

@benpye benpye commented Dec 6, 2015

This would fix #2250 contributing to #957 , getting CoreCLR working on platforms using musl and other alternative libc's that do not implemented the deprecated setcontext/getcontext/etc. This does change the meaning of CONTEXT_GetRegisters as CONTEXT_CaptureContext already populates an LPCONTEXT so it seems to make more sense to pass that straight to CONTEXT_GetRegisters. I haven't ran the .NET tests against this so I am relying on the CI tests first.

@jkotas
Copy link
Member

jkotas commented Dec 7, 2015

LGTM

@jkotas
Copy link
Member

jkotas commented Dec 7, 2015

@janvorli Could you please take a look as well?

@janvorli
Copy link
Member

janvorli commented Dec 7, 2015

LGTM, thanks for the unification!

janvorli added a commit that referenced this pull request Dec 7, 2015
@janvorli janvorli merged commit 49f5b95 into dotnet:master Dec 7, 2015
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove usage of getcontext() on supported platforms
4 participants