Error!
Success!

By tag: MemoryBarrier

showing:  of
0
kicks

Parallel and The C# Memory Model  (Unpublished)

Parallel programming can be tricky, both compiler and CPU's optimization can lead into a twilight zone's debugging.


Kicked By:
Drop Kicked By:
0
kicks

volatile and MemoryBarrier()...  (Unpublished)

That part I knew… what we news to me is there is a better way to do volatile, and that is with an explicitly memory barrier before accessing the data member.. We have a an API for that: System.Threading.Thread.MemoryBarrier(). This is more efficient than using volatile because a volatile field r...


Kicked By:
Drop Kicked By: