Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2010-10-12 16:40:42
Size: 1057
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 5 as of 2011-02-02 18:22:14
Size: 583
Editor: SheenaSmith
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


CategoryAPI, CategoryAtomic

None: SDL_AtomicUnlock (last edited 2016-05-11 20:52:12 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit