| Parameter | Description |
|---|---|
| location | Where to atomically or the result into. |
| value | The value to be combined. |
int
The original value in location.
Bitwise or as an atomic operation.
Using the return value of this intrinsic may result in worse code-generation on some platforms (a compare-exchange loop), rather than a single atomic instruction being generated.
Additional resources: https://docs.microsoft.com/en-us/dotnet/api/system.threading.interlocked.or
| Parameter | Description |
|---|---|
| location | Where to atomically or the result into. |
| value | The value to be combined. |
uint
The original value in location.
Bitwise or as an atomic operation.
Using the return value of this intrinsic may result in worse code-generation on some platforms (a compare-exchange loop), rather than a single atomic instruction being generated.
Additional resources: https://docs.microsoft.com/en-us/dotnet/api/system.threading.interlocked.or
| Parameter | Description |
|---|---|
| location | Where to atomically or the result into. |
| value | The value to be combined. |
long
The original value in location.
Bitwise or as an atomic operation.
Using the return value of this intrinsic may result in worse code-generation on some platforms (a compare-exchange loop), rather than a single atomic instruction being generated.
Additional resources: https://docs.microsoft.com/en-us/dotnet/api/system.threading.interlocked.or
| Parameter | Description |
|---|---|
| location | Where to atomically or the result into. |
| value | The value to be combined. |
ulong
The original value in location.
Bitwise or as an atomic operation.
Using the return value of this intrinsic may result in worse code-generation on some platforms (a compare-exchange loop), rather than a single atomic instruction being generated.
Additional resources: https://docs.microsoft.com/en-us/dotnet/api/system.threading.interlocked.or