Overview
Comment: | Fix of_atomic_{add,sub}_ptr on AMD64. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 0.6 |
Files: | files | file ages | folders |
SHA3-256: |
10b7f839c58c364e1d8a42b049932fb2 |
User & Date: | js on 2012-03-21 09:23:54 |
Other Links: | branch diff | manifest | tags |
Context
2020-05-23
| ||
16:47 | Close 0.6 branch Closed-Leaf check-in: 503226703e user: js tags: 0.6 | |
2012-03-21
| ||
09:23 | Fix of_atomic_{add,sub}_ptr on AMD64. check-in: 10b7f839c5 user: js tags: 0.6 | |
2012-03-16
| ||
17:14 | Fix memory wasting in OFBigDataArray. check-in: d31c0b6fc8 user: js tags: 0.6 | |
Changes
Modified src/atomic.h from [1848f8ec6b] to [6e23ade0bb].
︙ | |||
79 80 81 82 83 84 85 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | - + + + + + + + + + + + | } static OF_INLINE void* of_atomic_add_ptr(void* volatile *p, intptr_t i) { #if !defined(OF_THREADS) return (*(char* volatile*)p += i); |
︙ | |||
161 162 163 164 165 166 167 | 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | - + + + + + + + + + + + + | } static OF_INLINE void* of_atomic_sub_ptr(void* volatile *p, intptr_t i) { #if !defined(OF_THREADS) return (*(char* volatile*)p -= i); |
︙ |