Annotated edit history of
SDL_mutexP(3) version 2, including all changes.
View license author blame.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
SDL_mutexP |
| |
|
2 |
!!!SDL_mutexP |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
SEE ALSO |
| |
|
7 |
---- |
| |
|
8 |
!!NAME |
| |
|
9 |
|
| |
|
10 |
|
| |
|
11 |
SDL_mutexP- Lock a mutex |
| |
|
12 |
!!SYNOPSIS |
| |
|
13 |
|
| |
|
14 |
|
| |
|
15 |
__#include |
| |
|
16 |
__ |
| |
|
17 |
|
| |
|
18 |
|
| |
|
19 |
__int SDL_mutexP__(__SDL_mutex *mutex__); |
| |
|
20 |
!!DESCRIPTION |
| |
|
21 |
|
| |
|
22 |
|
| |
|
23 |
Locks the __mutex__, which was previously created with |
| 2 |
perry |
24 |
__SDL_!CreateMutex__. If the mutex is already locked then |
| 1 |
perry |
25 |
__SDL_mutexP__ will not return until it is |
| |
|
26 |
''unlocked''. Returns __0__ on success, or __-1__ |
| |
|
27 |
on an error. |
| |
|
28 |
|
| |
|
29 |
|
| 2 |
perry |
30 |
SDL also defines a macro __#define SDL_!LockMutex(m) |
| 1 |
perry |
31 |
SDL_mutexP(m)__. |
| |
|
32 |
!!SEE ALSO |
| |
|
33 |
|
| |
|
34 |
|
| 2 |
perry |
35 |
__SDL_!CreateMutex__, __SDL_mutexV__ |
| 1 |
perry |
36 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.