|
Size: 1155
Comment: update content for consistency - non-zero
|
Size: 1139
Comment: correct typo
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 6: | Line 6: |
| Use this function to lock a spin lock by setting it to a ,,none zero,, ^non-zero^ value. | Use this function to lock a spin lock by setting it to a non-zero value. |
DRAFT |
SDL_AtomicLock
Use this function to lock a spin lock by setting it to a non-zero value.
Syntax
void SDL_AtomicLock(SDL_SpinLock* lock)
Function Parameters
lock |
points to the lock the desired SDL_!SpinLock 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
