| Parameter | Description |
|---|---|
| location | Where to atomically and the result into. |
| value | The value to be combined. |
int The original value in .
Bitwise and 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.and
| Parameter | Description |
|---|---|
| location | Where to atomically and the result into. |
| value | The value to be combined. |
uint The original value in .
Bitwise and 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.and
| Parameter | Description |
|---|---|
| location | Where to atomically and the result into. |
| value | The value to be combined. |
long The original value in .
Bitwise and 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.and
| Parameter | Description |
|---|---|
| location | Where to atomically and the result into. |
| value | The value to be combined. |
ulong The original value in .
Bitwise and 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.and