Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-02-01 20:44:41
Size: 894
Editor: SheenaSmith
Comment: create page - 2/1 changeset 5134
Revision 2 as of 2011-02-02 17:24:11
Size: 713
Editor: SheenaSmith
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.


CategoryStruct, CategoryAtomic

None: SDL_atomic_t (last edited 2019-03-29 20:36:49 by ColaEuphoria)

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