Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2011-01-13 05:00:51
Size: 1155
Editor: SheenaSmith
Comment: update content for consistency - non-zero
Revision 7 as of 2011-01-28 20:20:57
Size: 1139
Editor: SheenaSmith
Comment: correct typo
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to lock a spin lock by setting it to a ,,none zero,, ^non-zero^ value. Use this function to lock a spin lock by setting it to a non-zero value.

DRAFT

SDL_AtomicLock

Use this function to lock a spin lock by setting it to a non-zero value.

Syntax

void SDL_AtomicLock(SDL_SpinLock* lock)

Function Parameters

lock

points to the lock the desired SDL_!SpinLock to lock

green

Code Examples

You can add your code example here

Remarks

The spin lock functions and type are required and can not be emulated because they are used in the emulation code.

green

http://en.wikipedia.org/wiki/Spin_lock


CategoryAPI, CategoryAtomic

None: SDL_AtomicLock (last edited 2011-02-02 18:18:28 by SheenaSmith)

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