Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-10-12 06:03:34
Size: 1201
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 6 as of 2010-10-18 04:19:12
Size: 1196
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
||'''mutex'''||^the SDL_mutex to be unlocked^|| ||'''mutex'''||^the SDL_mutex to unlock^||

DRAFT

SDL_mutexV

Use this function to unlock the a mutex.

Syntax

int SDL_mutexV(SDL_mutex* mutex)

Function Parameters

mutex

the SDL_mutex to unlock

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

It is an error to unlock a mutex that has not been locked by the current thread, and doing so results in undefined behavior.

*
SDL also defines a macro #define SDL_UnlockMutex(m) SDL_mutexV(m).
*

-or-

SDL_mutexV(m) and SDL_UnlockMutex(m) are equivalent.

-or-

The macro SDL_UnlockMutex(m) will call SDL_mutexV(m).

green


CategoryAPI, CategoryMutex

None: SDL_mutexV (last edited 2015-02-21 10:30:22 by PhilippWiesemann)

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