Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2010-10-18 04:19:12
Size: 1196
Editor: SheenaSmith
Comment: minor change
Revision 7 as of 2013-08-09 05:11:29
Size: 55
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers off
#pragma disable-camelcase
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||

= SDL_mutexV =
Use this function to unlock ,,the,, ^a^ mutex.

<<TableOfContents()>>

== Syntax ==
{{{#!highlight cpp
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 ==
{{{#!highlight cpp
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.

*<<BR>>SDL also defines a macro `#define SDL_UnlockMutex(m) SDL_mutexV(m)`. <<BR>>*

''-or-''

[[SDL_mutexV]](m) and SDL_!UnlockMutex(m) are equivalent.

''-or-''

The macro SDL_!UnlockMutex(m) will call [[SDL_mutexV]](m).

<<Color2(green,I'm guessing this !UnlockMutex part will actually be omitted but I left it in since it was mentioned in the old wiki.)>>

== Related Functions ==
 .[[SDL_CreateMutex]] *
 .[[SDL_mutexP]] *

----
[[CategoryAPI]], [[CategoryMutex]]
SDL_mutexV has been replaced with [[SDL_UnlockMutex]]

SDL_mutexV has been replaced with SDL_UnlockMutex

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