Wiki Page Content

Revision 3 as of 2010-09-13 05:56:49

Clear message

DRAFT

SDL_AtomicLock

Use this function to lock a spin lock by setting it to a none zero ^non-0 / non-zero^ value.

Syntax

void SDL_AtomicLock(SDL_SpinLock* lock)

Function Parameters

lock

points to the lock a pointer to the desired spin lock; non-zero 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

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