|
AWS IoT Device SDK C:
Platform
Platform portability layer
|
| Return to main page ↑ |
Performs an atomic compare-and-swap operation on the given pointers.
| [in,out] | pDestination | Pointer to the memory location to be loaded and checked. |
| [in] | pNewValue | This value will be written to memory if the comparand matches the value at pDestination. |
| [in] | pComparand | This value is compared to the value at pDestination. |
1 if the newValue was written to pDestination; 0 otherwise.