📄 rvsem_.c
字号:
#if (0)
************************************************************************
Filename :
Description:
************************************************************************
Copyright (c) 2000 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: Jay Davis$
************************************************************************
#endif
#include <assert.h>
#include <string.h>
#include "rvsem_.h"
/* OS Speicifc Semaphore functions */
/* OSE */
#if defined(RV_SEMAPHORE_OSE)
RvSem_ *rvSemConstruct_(RvSem_ *s, unsigned int i)
{
/* For a static semaphore, initialize structure manually */
s->value = i;
s->f = 0;
s->b = 0;
return s;
}
void rvSemDestruct_(RvSem_ *s)
{
/* do nothing, no way to destroy static semaphore */
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -