|
Size: 711
Comment: minor change
|
Size: 1060
Comment: update content
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''lock'''||points to the lock|| | ||'''lock'''||,,points to the lock,, ^a pointer to the desired spin lock^|| <<Color2(green,Does the function change the setting of the lock struct to 0 automatically when it is called? Lock changes it back to non-0?)>> |
| Line 26: | Line 27: |
| <<Color2(green,Would the following site be a relevant link here or perhaps in a more detailed section on this topic?)>> http://en.wikipedia.org/wiki/Spin_lock |
DRAFT |
SDL_AtomicUnlock
Use this function to unlock a spin lock by setting it to 0. Always returns immediately.
Syntax
void SDL_AtomicUnlock(SDL_SpinLock* lock)
Function Parameters
lock |
points to the lock a pointer to the desired spin 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
