|
Size: 1060
Comment: update content
|
Size: 1057
Comment: update content - pointers, structs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''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?)>> |
||'''lock'''||,,points to the lock,, ^the desired spin lock^|| <<Color2(green,Does the function change the setting of the lock struct/typedef to 0 automatically when it is called? Lock changes it back to non-0?)>> |
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 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
