Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2011-02-01 20:20:56
Size: 772
Editor: SheenaSmith
Comment: update content - add RFs
Revision 3 as of 2011-02-01 20:46:42
Size: 757
Editor: SheenaSmith
Comment: update content - remove acl
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
#acl All:read

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

None: SDL_AtomicTryLock (last edited 2011-02-02 18:20:09 by SheenaSmith)

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