c++ - The usage of _InterlockedCompareExchange64 -


on msdn, see

interlockedcompareexchange64 

requires parameters 64 aligned,

but

_interlockedcompareexchange64  

i see no such requirement alignment, , mentioned provide compiler intrinsic support interlockedcompareexchange64.

so, means can use _interlockedcompareexchange64 without caring alignment? 'cause don't quite know alignment means here.

i'm pretty documentation mistake, rather direct difference between 2 function - seeing result in same cmpxchg8b instruction. [assuming of course looking it atomic on smp system - it's pretty specialized instruction, doubt has other use].


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -