|
Size: 1057
Comment: update content - pointers, structs
|
Size: 583
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| Use this function to unlock a spin lock by setting it to 0. Always returns immediately. | Use this function to unlock a spin lock by setting it to 0. |
| Line 16: | Line 15: |
| ||'''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?)>> |
||'''lock'''||a pointer to a lock variable|| |
| Line 26: | Line 23: |
| The spin lock functions and type are required and can not be emulated because they are used in the emulation code. <<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 |
''You can add useful comments here'' |
| Line 33: | Line 27: |
| .[[SDL_AtomicTryLock]] |
SDL_AtomicUnlock
Use this function to unlock a spin lock by setting it to 0.
Syntax
void SDL_AtomicUnlock(SDL_SpinLock* lock)
Function Parameters
lock |
a pointer to a lock variable |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
