Why does C#'s Thread.MemoryBarrier() use "lock or" instead of mfence?

Subscribers:
4,430
Published on ● Video Link: https://www.youtube.com/watch?v=TugcePJSXdw



Duration: 0:00
1 views
0


Why does C#'s Thread.MemoryBarrier() use "lock or" instead of mfence?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!

(stackoverflow.com/users/1450890/rook)Rook
(stackoverflow.com/users/224132/peter-cordes)Peter Cordes
A special thanks goes out to the (stackoverflow.com/questions/79218881/why-does-cs-thread-memorybarrier-use-lock-or-instead-of-mfence)Stackexchange community

I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de

memory-barriers assembly x86-64 c# .net-core




Other Videos By Peter Schneider


2024-11-26Is it possible to pull CSS values with HTA JavaScript?
2024-11-26Security: Password checks in backend vs. password encrypted data sent to frontend?
2024-11-26GIO mount SFTP case sensitivity, names converted to lowercase?
2024-11-26Get number of decimals in python float, including trailing zeros closed
2024-11-26How to stop Windows on external hard drive from overwriting UEFI records?
2024-11-26Tex: How to Darken the ISBN in a Pst-Barcode?
2024-11-26Mathematica: Unexpected behavior in ParametricPlot
2024-11-26In-place array compaction with least amount of shifting
2024-11-26Gis: Figuring out coordinates written as long numbers, no decimals
2024-11-26Gis: Combining layer information from two different maps into another, separate map in R/terra
2024-11-25Why does C#'s Thread.MemoryBarrier() use "lock or" instead of mfence?
2024-11-23Apple: QLStephen not working at all
2024-11-23Apple: Using literal strings in custom date format in iOS Shortcuts app
2024-11-23Dba: Remove NULL from T-SQL query output
2024-11-23Unix: How can I manage long package lists in sh without arrays?
2024-11-23Dba: SSMS: Is there a faster way to SELECT TOP (1000) in the GUI?
2024-11-23dates and overlapping dates function
2024-11-23Apple: Use Apple's FileMerge from command line and have it wait instead of exiting immediately
2024-11-23Apple: How to set apps which are not set to "keep in dock" automatically dismissed from Dock when...
2024-11-23Dba: Temp tables streamline query
2024-11-23Dba: Why I don't see the OptimizerStatsUsage in the execution plan