Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-09-13 06:12:17
Size: 1060
Editor: SheenaSmith
Comment: update content
Revision 4 as of 2010-10-12 16:40:42
Size: 1057
Editor: SheenaSmith
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


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