|
-
October 11th, 2011, 09:01 AM
#1
InterlockedExchange64
just a confirmation, to see if I didn' t miss something obvious;
InterlockedExchange64 performs atomically with respect to other InterlockedExchange64 calls also on 32 bit systems, doesn't it ?
I ask, because the msdn doc says "To operate on a 32-bit variable, use the InterlockedExchange function." that may be interpreted negatively ...
-
October 11th, 2011, 09:41 AM
#2
Re: InterlockedExchange64
InterlockedExchange64 is atomic on all architectures.
Use InterlockedExchange to exchange a 32bit variable.
Use InterlockedExchange64 to exchange a 64bit variable.
gg
-
October 12th, 2011, 02:42 AM
#3
Re: InterlockedExchange64
thank you !
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
|