Overview
| Comment: | OFAtomic_no_threads.h: Fix typo |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | new-naming-convention |
| Files: | files | file ages | folders |
| SHA3-256: |
a3dd14547602fd7a9c979d29d28e32cd |
| User & Date: | js on 2021-04-25 11:26:14 |
| Other Links: | branch diff | manifest | tags |
Context
|
2021-04-25
| ||
| 11:29 | Change the naming convention (check-in: 2b74ff13b0 user: js tags: trunk) | |
| 11:26 | OFAtomic_no_threads.h: Fix typo (Closed-Leaf check-in: a3dd145476 user: js tags: new-naming-convention) | |
| 11:05 | A few last renames (check-in: 27103855c2 user: js tags: new-naming-convention) | |
Changes
Modified src/OFAtomic_no_threads.h from [428a9e720d] to [bc682f9d95].
| ︙ | ︙ | |||
106 107 108 109 110 111 112 |
static OF_INLINE uint32_t
OFAtomicInt32Xor(volatile uint32_t *_Nonnull p, uint32_t i)
{
return (*p ^= i);
}
static OF_INLINE bool
| | | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
static OF_INLINE uint32_t
OFAtomicInt32Xor(volatile uint32_t *_Nonnull p, uint32_t i)
{
return (*p ^= i);
}
static OF_INLINE bool
OFAtomicIntCompareAndSwap(volatile int *_Nonnull p, int o, int n)
{
if (*p == o) {
*p = n;
return true;
}
return false;
|
| ︙ | ︙ |