|
Size: 772
Comment: update content - add RFs
|
Size: 757
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.
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
