Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-02-01 23:38:21
Size: 963
Editor: SheenaSmith
Comment: create page - 2/1 changeset 5134
Revision 2 as of 2011-02-01 23:52:52
Size: 984
Editor: SheenaSmith
Comment: add RF
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:
 .[[SDL_AtomicSet]]

DRAFT

SDL_AtomicSetPtr

Use this function to set a pointer to a value atomically.

Syntax

void* SDL_AtomicSetPtr(void** a,
                       void*  v)

Function Parameters

a

a pointer to a pointer to an atomic variable

v

a pointer to the desired value

Return Value

Returns the previous value of the pointer. green

Returns a pointer to the previous value on success.

green

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryAtomic

None: SDL_AtomicSetPtr (last edited 2011-02-02 18:27:08 by SheenaSmith)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit