Commit 3ebdcc5
committed
atomic: Fix and cleanup SDL_UnlockSpinlock()
- Add missing SDL_MemoryBarrierRelease() in the generic codepath
- Remove Watcom and MSVC x86/x64 cases which are now identical to the generic codepath
- Fix Solaris barrier to ensure prior stores are visible before unlocking1 parent dd1e04e commit 3ebdcc5
1 file changed
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | 195 | | |
204 | 196 | | |
205 | | - | |
206 | 197 | | |
| 198 | + | |
207 | 199 | | |
208 | 200 | | |
| 201 | + | |
209 | 202 | | |
210 | 203 | | |
211 | 204 | | |
| |||
0 commit comments