Sack Library Documentation
|
Parameters |
Description |
PV_32 p |
pointer to a 32 bit value to exchange |
_32 val |
value to set into the variable |
The prior value in p.
Multiprocessor safe swap of the contents of a variable with a new value, and result with the old variable.
_32 variable = 0; _32 oldvalue = InterlockedExchange( &variable, 1 );
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|