|
-
April 26th, 2010, 08:44 AM
#15
Re: Interlocked* API functions and "memory access semantics"
Thanks Dmitriy!
>> Can someone give a simple example of how this asymmetry can be used to achieve something more efficient than a full fence?
One more example using Peterson's lock, with an introduction to C++0x atomics:
http://bartoszmilewski.wordpress.com...mory-ordering/
(with corrections, thanks to Dmitriy and Anthony)
http://www.justsoftwaresolutions.co....x_atomics.html
gg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|