3

There is a new function Interlocked.SpeculationBarrier since .net framework 4.8. I have been curious and looking for more information about this but couldn't really find out why this is included or why you would want to block speculative execution. So what is the use case for this?

Would enabling this make your application more secure when handling sensitive information against vulnerabilities that target speculative execution(ex. spectre, meltdown)?

https://learn.microsoft.com/en-us/dotnet/api/system.threading.interlocked.speculationbarrier?view=netframework-4.8

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.