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

Subscribers:
4,270
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-26Softwareengineering: Clean Architecture using interfaces or Mediator approach?
2024-11-26Controller Stage Freezing Display Stage
2024-11-26GAWK expanding 1 liner for an awk script
2024-11-26In-place array compaction with least amount of shifting
2024-11-26blip2 type mismatch exception
2024-11-26What is the ideal way to customize the separators and brackets for formatting ranges?
2024-11-26ssh-keyscan to get host key of SFTP server through an authenticated proxy
2024-11-26How do I transfer variables from the function to the thread?
2024-11-26Drupal: How to limit access to certain type of node?
2024-11-26Drupal: Pagination incorrect due to custom exposed filter
2024-11-25Why does C#'s Thread.MemoryBarrier() use "lock or" instead of mfence?
2024-11-23Codereview: A PicoBlaze assembly program that converts binary numbers to octal
2024-11-23Apple: Why is the search field in System Settings returning no results after updating to macOS 15...
2024-11-23Gis: Why a polygon is invalid
2024-11-23Dba: Is recursive variable assignment bad even if recursively assigning single row?
2024-11-23Apple: SMB Mount despite being connected to local network (MacOS 13.7.1)
2024-11-23dates and overlapping dates function
2024-11-23Dba: Why I don't see the OptimizerStatsUsage in the execution plan
2024-11-23Tex: box several horizontally connected cells in an array. Is there a command similar to Aboxed?
2024-11-23Apple: Apple Intelligence stuck on preparing
2024-11-23Dba: Make sure that only one transaction updates a row