|
Size: 984
Comment: add RF
|
← Revision 3 as of 2011-02-02 18:27:08 ⇥
Size: 704
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 17: | Line 16: |
| ||'''a'''||^a pointer to a pointer to an atomic variable^|| ||'''v'''||^a pointer to the desired value^|| |
||'''a'''||a pointer to a pointer|| ||'''v'''||the desired pointer value|| |
| Line 21: | Line 20: |
| Returns the previous value of the pointer. <<Color2(green,This doesn't seem like the right RV for a void*.)>> Returns ^a pointer to the previous value^ on success. <<Color2(green,What happens on failure?)>> |
Returns the previous value of the pointer. |
| Line 38: | Line 33: |
| .[[SDL_AtomicSet]] |
SDL_AtomicSetPtr
Use this function to set a pointer to a value atomically.
Contents
Syntax
void* SDL_AtomicSetPtr(void** a,
void* v)
Function Parameters
a |
a pointer to a pointer |
v |
the desired pointer value |
Return Value
Returns the previous value of the pointer.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
