Re: How to do atomic read?
- From: "Alexander Grigoriev" <alegr@xxxxxxxxxxxxx>
- Date: Wed, 20 Jun 2007 20:50:07 -0700
"Mark Roddy" <markr@xxxxxxxxxxxxxx> wrote in message
news:OIGtTy0sHHA.2124@xxxxxxxxxxxxxxxxxxxxxxx
Yeah, I'd be fascinated by that explanation. But atomic reads are silly.
What is the point?
One point is that it provides a memory fence. That's pretty much the only
point.
In 64 bit variant, also, InterlockedCompareExchange64 allows to atomically
fetch 64 bits, which is not guaranteed by other C-compiler means on 32 bit
machine.
.
- References:
- How to do atomic read?
- From: vasanth
- Re: How to do atomic read?
- From: 0dbell
- Re: How to do atomic read?
- From: Alexander Grigoriev
- Re: How to do atomic read?
- From: 0dbell
- Re: How to do atomic read?
- From: Mark Roddy
- How to do atomic read?
- Prev by Date: Re: How to do atomic read?
- Next by Date: Re: PORT_CONFIGURATION_INFORMATION (Storport)
- Previous by thread: Re: How to do atomic read?
- Next by thread: Re: How to do atomic read?
- Index(es):
Relevant Pages
|
Loading