Atomically bitwise-OR op into *val, optionally under lock.
Declared in <openssl/crypto.h>
int
CRYPTO_atomic_or(
uint64_t* val,
uint64_t op,
uint64_t* ret,
CRYPTO_RWLOCK* lock);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| val | 64-bit integer to modify in place. |
| op | Bits ORed into *val. |
| ret | Receives the post-OR value of *val; must not be NULL. |
| lock | Optional CRYPTO_RWLOCK used when hardware atomics are unavailable, or NULL. |