⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rvcond_.h

📁 h.248协议源码
💻 H
字号:
#if (0)
******************************************************************************
Filename    :
Description :
******************************************************************************
                Copyright (c) 1999 RADVision Inc.
************************************************************************
NOTICE:
This document contains information that is proprietary to RADVision LTD.
No part of this publication may be reproduced in any form whatsoever 
without written prior approval by RADVision LTD..

RADVision LTD. reserves the right to revise this publication and make 
changes without obligation to notify any person of such revisions or 
changes.
******************************************************************************
$Revision:$
$Date:$
$Author: S. Cipolli$
******************************************************************************
#endif

#ifndef RV_COND__H
#define RV_COND__H

#include "rvmon_.h"
#include "rvsem_.h"

typedef struct {
	RvMon_* mon;		/* Monitor for mutual exclusion */
	int count;			/* Number of threads pending on condition */
	RvSem_ sync;		/* Holds threads pending on condition  */
} RvCond_;

#if defined(__cplusplus)
extern "C" {
#endif 

RvCond_* rvCondConstruct_(RvCond_* c, RvMon_* m);
void rvCondDestruct_(RvCond_* c);
#define rvCondWaiting_(c)			((c)->count)
void rvCondWait_(RvCond_* c);
void rvCondNotify_(RvCond_* c);
void rvCondNotifyAll_(RvCond_* c);

#if defined(__cplusplus)
}
#endif 

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -