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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? sdl_mutex.h

?? 一個非常有用的開源代碼
?? H
字號:
/*    SDL - Simple DirectMedia Layer    Copyright (C) 1997-2004 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_RCSIDstatic char rcsid = "@(#) $Id: SDL_mutex.h,v 1.7 2004/01/04 16:49:07 slouken 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 __cplusplusextern "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)   It is an error to unlock a mutex that has not been locked by   the current thread, and doing so results in undefined behavior. */#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 */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产高清在线| 欧美日韩二区三区| 国产精品另类一区| av激情亚洲男人天堂| 亚洲欧美日韩久久| 一本色道久久加勒比精品| 亚洲另类一区二区| 欧美人与性动xxxx| 久国产精品韩国三级视频| 日韩免费一区二区| 成人精品小蝌蚪| 亚洲视频一区二区在线| 91福利小视频| 男人操女人的视频在线观看欧美| 精品国产污网站| 国产91富婆露脸刺激对白| 综合欧美一区二区三区| 欧美日韩精品一区视频| 韩国视频一区二区| 中文字幕在线不卡视频| 欧美日韩成人一区二区| 国产一区二区在线免费观看| 亚洲色图制服诱惑| 欧美日韩另类国产亚洲欧美一级| 美女久久久精品| 亚洲欧洲综合另类在线| 欧美一区二区美女| 成人妖精视频yjsp地址| 亚洲午夜免费电影| 国产欧美一区二区三区在线看蜜臀| 色综合视频一区二区三区高清| 麻豆成人免费电影| 成人免费小视频| 精品国产免费视频| 色婷婷av一区二区三区软件| 老色鬼精品视频在线观看播放| 中文乱码免费一区二区| 制服丝袜成人动漫| 99久久婷婷国产| 久久97超碰色| 亚洲国产你懂的| 国产精品高清亚洲| 精品欧美乱码久久久久久1区2区| 色一区在线观看| 国产成人精品亚洲日本在线桃色| 日韩精品久久理论片| 亚洲精品中文在线| 国产日韩欧美高清在线| 日韩一级片网址| 欧美日韩精品免费观看视频| 成人av免费在线| 国产大片一区二区| 久久se精品一区二区| 首页国产欧美日韩丝袜| 亚洲欧美另类图片小说| 国产精品久久久久久久蜜臀| 日韩美女天天操| 欧美一区二区免费观在线| 欧美在线三级电影| 99久久综合国产精品| 国产精品亚洲专一区二区三区| 日本怡春院一区二区| 亚洲一区二区三区在线| 亚洲免费伊人电影| 亚洲欧美偷拍卡通变态| 国产精品国产三级国产aⅴ原创| 久久影音资源网| 欧美变态凌虐bdsm| 日韩视频一区二区三区| 91精品国产色综合久久| 69堂精品视频| 欧美一二三区在线观看| 欧美一级日韩免费不卡| 538prom精品视频线放| 欧美精品日韩一本| 欧美日韩在线免费视频| 欧美军同video69gay| 88在线观看91蜜桃国自产| 91麻豆精品国产自产在线观看一区| 欧美日韩一区二区三区在线| 欧美视频完全免费看| 欧美午夜片在线看| 欧美三日本三级三级在线播放| 欧美日韩高清一区| 日韩三级中文字幕| 久久亚洲一区二区三区四区| 国产日韩欧美a| 国产精品国产精品国产专区不片 | 亚洲电影在线播放| 亚洲第一主播视频| 免费国产亚洲视频| 国产麻豆91精品| 99久久国产综合精品麻豆| 一本色道久久综合精品竹菊| 一本大道久久a久久综合婷婷| 在线视频一区二区三区| 欧美高清视频一二三区| 精品国产乱子伦一区| 亚洲国产成人私人影院tom| 亚洲视频一二三区| 五月天激情综合| 狠狠色狠狠色综合系列| 成人激情午夜影院| 欧美性色欧美a在线播放| 91精品在线观看入口| 国产欧美一区二区三区沐欲| 亚洲黄色小视频| 老司机精品视频导航| av综合在线播放| 欧美日韩小视频| 久久网站热最新地址| 亚洲精品国产成人久久av盗摄| 日韩极品在线观看| 国产精品一品二品| 精品视频在线视频| 中文字幕免费不卡| 日韩精品成人一区二区三区| 国产精品一品视频| 欧美日韩美女一区二区| 久久丝袜美腿综合| 亚洲一区二区三区在线播放| 国产一区二区三区免费看| 色美美综合视频| 久久久久久日产精品| 亚洲成av人片一区二区| 丁香六月久久综合狠狠色| 91精品欧美久久久久久动漫| 国产精品午夜在线观看| 捆绑紧缚一区二区三区视频| 在线免费观看日本欧美| 国产三级三级三级精品8ⅰ区| 婷婷亚洲久悠悠色悠在线播放| 丰满放荡岳乱妇91ww| 日韩亚洲欧美高清| 亚洲一区在线电影| 99九九99九九九视频精品| 精品av久久707| 香蕉影视欧美成人| 色哟哟亚洲精品| 国产精品国产三级国产三级人妇| 精品一区二区三区久久久| 欧美日韩一区二区在线观看视频| 亚洲欧洲三级电影| 国产精品羞羞答答xxdd| 日韩欧美专区在线| 五月婷婷综合网| 欧洲国产伦久久久久久久| 亚洲欧洲韩国日本视频| 国产精品12区| 精品国产欧美一区二区| 青青草国产成人av片免费| 欧美日韩一区高清| 亚洲一区免费观看| 在线观看国产一区二区| 国产精品三级在线观看| 国产91高潮流白浆在线麻豆| 久久女同性恋中文字幕| 国产一区二区三区四区五区美女 | 国产在线国偷精品免费看| 日韩欧美亚洲国产精品字幕久久久| 亚洲第一成人在线| 欧美日韩综合不卡| 午夜精品福利一区二区三区av | 亚洲综合免费观看高清完整版| 不卡视频一二三| 最新成人av在线| 一本久久a久久免费精品不卡| 成人免费在线播放视频| 99精品视频免费在线观看| 国产精品久久久久久福利一牛影视 | 精品国产亚洲在线| 国产原创一区二区| 日本一区二区成人| 不卡的电视剧免费网站有什么| 国产精品久久久久久久久动漫 | 成人综合激情网| 亚洲欧洲精品成人久久奇米网| 99久久免费精品| 亚洲一区二区三区四区在线| 欧美日韩亚洲综合在线| 亚洲第一成年网| 精品国产91亚洲一区二区三区婷婷 | 国产伦精品一区二区三区免费迷 | 国产伦精品一区二区三区免费| 国产婷婷色一区二区三区在线| 成人av动漫网站| 亚洲自拍与偷拍| 日韩久久精品一区| 国产99久久久国产精品潘金 | 精品精品国产高清一毛片一天堂| 免费在线观看视频一区| 久久精品人人做人人爽97| 97se亚洲国产综合自在线不卡| 亚洲国产一二三| 精品国产免费人成在线观看| 高清视频一区二区| 亚洲二区视频在线| 久久青草国产手机看片福利盒子 | 国产一区二三区| 亚洲精品欧美激情|