Mercurial > sdl-ios-xcode
view docs/man3/SDL_mutexV.3 @ 4383:daf9e6037596 SDL-1.2
Gregory Smith
Another one for the "How did this ever work?" file: when
DX5_HandleMessage is called with WM_ACTIVATEAPP, it goes past the end
of the 2-element SDL_DIdev array and if there doesn't happen to be a 0
in the memory next to it, crashes. Patch against SVN attached.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 15 Nov 2009 17:21:24 +0000 |
parents | 1238da4a7112 |
children |
line wrap: on
line source
.TH "SDL_mutexV" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" .SH "NAME" SDL_mutexV \- Unlock a mutex .SH "SYNOPSIS" .PP \fB#include "SDL\&.h" #include "SDL_thread\&.h" .sp \fBint \fBSDL_mutexV\fP\fR(\fBSDL_mutex *mutex\fR); .SH "DESCRIPTION" .PP Unlocks the \fBmutex\fR, which was previously created with \fI\fBSDL_CreateMutex\fP\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&. .PP SDL also defines a macro \fB#define SDL_UnlockMutex(m) SDL_mutexV(m)\fP\&. .SH "SEE ALSO" .PP \fI\fBSDL_CreateMutex\fP\fR, \fI\fBSDL_mutexP\fP\fR .\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01