|
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 );
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.|
Copyright (c) 2000+. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|