亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sdl_mutex.h

?? MPEG-4編解碼的實現(包括MPEG4視音頻編解碼)
?? H
字號:
/*
    SDL - Simple DirectMedia Layer
    Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002  Sam Lantinga

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Library General Public License for more details.

    You should have received a copy of the GNU Library General Public
    License along with this library; if not, write to the Free
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

    Sam Lantinga
    slouken@libsdl.org
*/

#ifdef SAVE_RCSID
static char rcsid =
 "@(#) $Id: SDL_mutex.h,v 1.4 2002/04/22 21:38:01 wmay Exp $";
#endif

#ifndef _SDL_mutex_h
#define _SDL_mutex_h

/* Functions to provide thread synchronization primitives

	These are independent of the other SDL routines.
*/

#include "SDL_main.h"
#include "SDL_types.h"

#include "begin_code.h"
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
#endif

/* Synchronization functions which can time out return this value
   if they time out.
*/
#define SDL_MUTEX_TIMEDOUT	1

/* This is the timeout value which corresponds to never time out */
#define SDL_MUTEX_MAXWAIT	(~(Uint32)0)


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Mutex functions                                               */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* The SDL mutex structure, defined in SDL_mutex.c */
struct SDL_mutex;
typedef struct SDL_mutex SDL_mutex;

/* Create a mutex, initialized unlocked */
extern DECLSPEC SDL_mutex * SDLCALL SDL_CreateMutex(void);

/* Lock the mutex  (Returns 0, or -1 on error) */
#define SDL_LockMutex(m)	SDL_mutexP(m)
extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex);

/* Unlock the mutex  (Returns 0, or -1 on error) */
#define SDL_UnlockMutex(m)	SDL_mutexV(m)
extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex);

/* Destroy a mutex */
extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex);


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Semaphore functions                                           */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* The SDL semaphore structure, defined in SDL_sem.c */
struct SDL_semaphore;
typedef struct SDL_semaphore SDL_sem;

/* Create a semaphore, initialized with value, returns NULL on failure. */
extern DECLSPEC SDL_sem * SDLCALL SDL_CreateSemaphore(Uint32 initial_value);

/* Destroy a semaphore */
extern DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem *sem);

/* This function suspends the calling thread until the semaphore pointed 
 * to by sem has a positive count. It then atomically decreases the semaphore
 * count.
 */
extern DECLSPEC int SDLCALL SDL_SemWait(SDL_sem *sem);

/* Non-blocking variant of SDL_SemWait(), returns 0 if the wait succeeds,
   SDL_MUTEX_TIMEDOUT if the wait would block, and -1 on error.
*/
extern DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem *sem);

/* Variant of SDL_SemWait() with a timeout in milliseconds, returns 0 if
   the wait succeeds, SDL_MUTEX_TIMEDOUT if the wait does not succeed in
   the allotted time, and -1 on error.
   On some platforms this function is implemented by looping with a delay
   of 1 ms, and so should be avoided if possible.
*/
extern DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem *sem, Uint32 ms);

/* Atomically increases the semaphore's count (not blocking), returns 0,
   or -1 on error.
 */
extern DECLSPEC int SDLCALL SDL_SemPost(SDL_sem *sem);

/* Returns the current count of the semaphore */
extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem *sem);


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Condition variable functions                                  */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* The SDL condition variable structure, defined in SDL_cond.c */
struct SDL_cond;
typedef struct SDL_cond SDL_cond;

/* Create a condition variable */
extern DECLSPEC SDL_cond * SDLCALL SDL_CreateCond(void);

/* Destroy a condition variable */
extern DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond *cond);

/* Restart one of the threads that are waiting on the condition variable,
   returns 0 or -1 on error.
 */
extern DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond *cond);

/* Restart all threads that are waiting on the condition variable,
   returns 0 or -1 on error.
 */
extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond *cond);

/* Wait on the condition variable, unlocking the provided mutex.
   The mutex must be locked before entering this function!
   Returns 0 when it is signaled, or -1 on error.
 */
extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mut);

/* Waits for at most 'ms' milliseconds, and returns 0 if the condition
   variable is signaled, SDL_MUTEX_TIMEDOUT if the condition is not
   signaled in the allotted time, and -1 on error.
   On some platforms this function is implemented by looping with a delay
   of 1 ms, and so should be avoided if possible.
*/
extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms);

/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}
#endif
#include "close_code.h"

#endif /* _SDL_mutex_h */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成a人片国产精品| 国产精品成人免费在线| 欧美在线视频日韩| 成人午夜av电影| 国产成人啪午夜精品网站男同| 青青草原综合久久大伊人精品| 国产精品久久久久国产精品日日| 日韩一区二区在线观看视频播放| 在线不卡一区二区| 日韩一本二本av| 欧美videofree性高清杂交| 精品欧美乱码久久久久久 | 欧美午夜精品理论片a级按摩| caoporn国产一区二区| 91免费看视频| 欧美日韩免费不卡视频一区二区三区| 欧美区视频在线观看| 欧美电影一区二区| 久久久久久亚洲综合影院红桃 | 久久久精品免费网站| 亚洲人成网站在线| 亚洲一二三专区| 激情文学综合插| 欧美无人高清视频在线观看| 日韩欧美电影一区| 欧美国产欧美综合| 看电影不卡的网站| 91小宝寻花一区二区三区| 69p69国产精品| 亚洲美女淫视频| 成人av电影在线观看| 欧美mv日韩mv国产| 亚洲国产精品视频| 91网站视频在线观看| 欧美精品一区二区高清在线观看| 国产精品第五页| 国产精品亚洲一区二区三区在线| 欧美午夜电影网| 中文字幕一区二区三| 成人免费视频国产在线观看| 2023国产精品自拍| 久久精品国产亚洲高清剧情介绍| 色诱亚洲精品久久久久久| 国产精品日韩成人| 成人免费视频国产在线观看| 久久久国产精华| 成人av电影在线| 亚洲精选一二三| 精品视频色一区| 日本成人中文字幕在线视频| 欧美大片一区二区| 亚洲成人中文在线| 欧美手机在线视频| 国产午夜精品久久久久久免费视 | 国产精品一级二级三级| 日韩亚洲欧美成人一区| 日本视频一区二区三区| 日韩视频免费观看高清完整版| 天涯成人国产亚洲精品一区av| 欧美日韩一级片在线观看| 免费三级欧美电影| 国产精品私人影院| 在线观看亚洲精品视频| 另类小说图片综合网| 久久久久国产精品人| 色综合久久久久久久久| 免费成人在线视频观看| 最新日韩在线视频| 日韩欧美国产1| 欧美在线啊v一区| 国产成人精品亚洲日本在线桃色 | caoporm超碰国产精品| 午夜精品久久久久久久| 久久久欧美精品sm网站| 欧美区在线观看| 日本道在线观看一区二区| 麻豆中文一区二区| 亚洲成人免费看| 亚洲狠狠丁香婷婷综合久久久| 日韩精品一区二区三区四区| 91女人视频在线观看| 国产精品18久久久久久久久久久久| 亚洲在线观看免费视频| 国产精品丝袜久久久久久app| 日韩欧美视频在线| 欧美一级久久久久久久大片| 91性感美女视频| 91美女福利视频| 99天天综合性| 一本一道久久a久久精品| 国产成人一级电影| 99re这里都是精品| 91网上在线视频| 色婷婷综合久久| 91精品国产综合久久久久久久久久| 欧美色大人视频| 欧美三日本三级三级在线播放| 欧美日韩亚州综合| 欧美成人猛片aaaaaaa| 精品91自产拍在线观看一区| 在线观看91av| 精品国产sm最大网站免费看| 国产精品色在线观看| 国产人妖乱国产精品人妖| 五月婷婷欧美视频| 亚洲在线免费播放| 麻豆成人久久精品二区三区小说| 国产精品综合一区二区| 欧美亚洲动漫另类| 久久夜色精品国产噜噜av| 亚洲乱码一区二区三区在线观看| 亚洲午夜一区二区| 奇米四色…亚洲| 国产精品原创巨作av| 91丨porny丨蝌蚪视频| 欧美性色黄大片| 久久久久久一级片| 欧美一级搡bbbb搡bbbb| 亚洲素人一区二区| 国产69精品久久久久毛片| 欧美日本在线看| 亚洲免费观看在线观看| 男人的j进女人的j一区| 一本久道中文字幕精品亚洲嫩| 精品国产乱子伦一区| 美女视频一区二区三区| 欧美在线小视频| 伊人婷婷欧美激情| 91在线无精精品入口| 精品99久久久久久| 国产精品99久久久久久似苏梦涵| 欧美日韩美少妇| 人人狠狠综合久久亚洲| 欧美午夜电影网| 日日夜夜免费精品视频| 欧美三级电影在线观看| 一区二区成人在线| 欧美三级在线看| 尤物在线观看一区| 欧美日韩亚洲综合一区二区三区| 亚洲成a人片综合在线| 欧美二区三区的天堂| 午夜精品123| 精品免费国产一区二区三区四区| 国产老妇另类xxxxx| 中文幕一区二区三区久久蜜桃| 91影院在线免费观看| 久久国产剧场电影| 精品国产自在久精品国产| 成人激情电影免费在线观看| 亚洲卡通欧美制服中文| 制服丝袜亚洲色图| 97精品国产露脸对白| 丝袜诱惑制服诱惑色一区在线观看 | 一区二区高清视频在线观看| 欧美一区二区三区思思人| 国产精选一区二区三区| 亚洲国产精品一区二区www在线| 欧美一a一片一级一片| 看电影不卡的网站| 亚洲一区二区三区中文字幕| 久久精品视频网| 欧美人妖巨大在线| 91久久精品一区二区三区| 午夜精品一区在线观看| 国产精品入口麻豆九色| 26uuu欧美日本| 欧美军同video69gay| 色香色香欲天天天影视综合网| 国产精品88av| 国产一区福利在线| 激情欧美一区二区三区在线观看| 中文字幕色av一区二区三区| 国产夜色精品一区二区av| 91精品国产全国免费观看 | 国产日韩v精品一区二区| 欧美一区二区三区电影| 欧美日韩欧美一区二区| 欧美日韩国产小视频在线观看| 色婷婷av一区二区三区软件| 91免费视频网| 日本电影欧美片| 欧美精选午夜久久久乱码6080| 在线观看三级视频欧美| 欧美在线观看视频在线| 91在线视频播放| 欧美一级二级在线观看| 精品国产3级a| 国产精品久久免费看| 亚洲综合激情另类小说区| 综合久久综合久久| 亚洲一区av在线| 天堂午夜影视日韩欧美一区二区| 亚洲欧美色图小说| 日韩精品91亚洲二区在线观看| 蜜桃视频在线观看一区| 亚洲电影欧美电影有声小说| 国产一区二区三区免费看| 9l国产精品久久久久麻豆| 欧美日韩黄视频|