|
⇤ ← Revision 1 as of 2011-02-01 23:03:51
Size: 873
Comment: create page - 2/1 changeset 5134
|
Size: 898
Comment: add RF
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 32: | Line 32: |
| .[[SDL_AtomicAdd]] ??? |
DRAFT |
SDL_AtomicAdd
Use this function to add to an atomic variable.
Contents
Syntax
int SDL_AtomicAdd(SDL_atomic_t* a,
int v)
Function Parameters
a |
the [[SDL_atomic_t]] structure filled in with the variable |
v |
the desired value to add |
Return Value
Returns the previous value of the atomic variable on success, or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Related Functions
SDL_AtomicAdd ???
SDL_AtomicIncRef ???
