|
⇤ ← Revision 1 as of 2011-02-01 20:44:41
Size: 894
Comment: create page - 2/1 changeset 5134
|
Size: 713
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| A structure that contains a type representing an atomic integer value. | A structure representing an atomic integer value. |
| Line 19: | Line 18: |
| [[SDL_atomic_t]] is a structure so people don't accidentally use numeric operations on it. Instead, you should use [[SDL_AtomicSet]](), [[SDL_AtomicGet]](), [[SDL_AtomicAdd]](), [[SDL_AtomicIncRef]](), [[SDL_AtomicDecRef]](), or [[SDL_AtomicCAS]]() to work with the integer value. | [[SDL_atomic_t]] is a structure so people don't accidentally use numeric operations on it. Instead, you should use the atomic operation functions to work with the integer value. |
SDL_atomic_t
A structure representing an atomic integer value.
Data Fields
int |
value |
the atomic integer value |
Code Examples
You can add your code example here
Remarks
SDL_atomic_t is a structure so people don't accidentally use numeric operations on it. Instead, you should use the atomic operation functions to work with the integer value.
