-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
VM #define Sleep macros break GC #7959
Comments
@sdmaclea this appears to be fixed, or is this still a concern? |
Looks like it is still a concern.
|
I meant I didnt see the workaround you mention in |
Done |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In various places, the VM introduces
#define Sleep(a) Dont_Use_Sleep(a)
. These are troublesome for the GC which has to introduce a workaround.Per @jkotas "this hack made sense for full .NET Framework. It is not really valuable for CoreCLR. I would rather delete all the code to #define Sleep to prevent people from using it."
My tip has these #define for Sleep in headers...
The text was updated successfully, but these errors were encountered: