Home » U++ Library support » U++ MT-multithreading and servers » Again ReadMemoryBarrier() etc
Re: Again ReadMemoryBarrier() etc [message #10434 is a reply to message #10431] |
Mon, 09 July 2007 10:50   |
|
luzr wrote on Mon, 09 July 2007 09:49 | Sorry, but
Fourth, the idea that "the _WriteBarrier function forces writes to memory to complete at the point of the call. After the call, other threads can access the memory without fear that the thread that made the call might have a pending write to the memory." is wrong as well, even if you would thing that it emits actual CPU write barrier. This is not what a write barrier does for you... (but your mistake is quite understandable, because I was under this false impression too a couple of months ago....)
Mirek
|
This is not my mistake this is from MSDN info about how this instristic work.
Who has right You or Microsoft ? 
|
|
|
Goto Forum:
Current Time: Fri Aug 08 00:09:57 CEST 2025
Total time taken to generate the page: 0.03735 seconds
|