|
⇤ ← Revision 1 as of 2011-01-28 20:15:29
Size: 726
Comment: create page - 1/27 changeset 5123
|
Size: 772
Comment: update content - add RFs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 31: | Line 31: |
| .[[SDL_AtomicLock]] .[[SDL_AtomicUnlock]] |
DRAFT |
SDL_AtomicTryLock
Use this function to try to lock a spin lock by setting it to a non-zero value.
Contents
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
