|
Size: 1071
Comment: update formatting - categories
|
Size: 1062
Comment: update content - tip in address
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 9: | Line 9: |
| '''Include File(s):''' [[http://hg.libsdl.org/SDL/file/68dfd6df47da/include/SDL_atomic.h|SDL_atomic.h]] | '''Include File(s):''' [[http://hg.libsdl.org/SDL/file/tip/include/SDL_atomic.h|SDL_atomic.h]] |
DRAFT |
Atomic Operations for 32 and 64 Bit Values
Include File(s): SDL_atomic.h
Introduction
This category contains functions for handling atomic operations in both 32-bit and 64-bit platforms.
These operations may, or may not, actually be implemented using processor specific atomic operations. When possible they are implemented as true processor specific atomic operations. When that is not possible they are implemented using locks that *do* use the available atomic operations. green
At the very minimum spin locks must be implemented. Without spin locks it is not possible (AFAICT) to emulate the rest of the atomic operations.
