SDL_mutexP.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_mutexP" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_mutexP- Lock a mutex
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- #include "SDL_thread&.h"
- .sp
- fBint fBSDL_mutexPfPfR(fBSDL_mutex *mutexfR);
- .SH "DESCRIPTION"
- .PP
- Locks the fBmutexfR, which was previously created with fIfBSDL_CreateMutexfPfR&. If the mutex is already locked then fBSDL_mutexPfP will not return until it is fIunlockedfR&. Returns fB0fR on success, or fB-1fR on an error&.
- .PP
- SDL also defines a macro fB#define SDL_LockMutex(m) SDL_mutexP(m)fP&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_CreateMutexfPfR, fIfBSDL_mutexVfPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01