Wiki Page Content

Revision 1 as of 2011-01-28 20:15:29

Clear message

DRAFT

SDL_AtomicTryLock

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

Syntax

SDL_bool SDL_AtomicTryLock(SDL_SpinLock* lock)

Function Parameters

lock

points to the lock

Return Value

Returns SDL_TRUE if the lock succeeded, SDL_FALSE if the lock is already held.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryAtomic

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