This inline function provides a way to set select bits in a 32 bit memory location in a thread safe manner.
The function performed atomically here is:
|ptr ||Location to be edited. This must be aligned on a DWORD boundary. |
|mask ||1's mark bits to be set. |
- New value after edit.
- See also:
- atomicAdd() atomicXor() atomicModify() atomicReset() atomicReadWrite()
- This function is not available in the SC1x, SC2x and SC1x3 C-Library.
- SC2x3 n/a - CLIB V1.02