请输入您要查询的百科知识:

 

词条 Release
释义

1.Release英文解释

音标(Phonetic symbol):[ri'li:s]

词性及解释 Part of speech and defination

n. 释放, 发泄, 豁免, 发行, 释放证书

vt. 释放, 解除, 放松, 豁免, 免除, 发布, 放弃, 让与

n. 发布

【计】 版本, 发布

【经】 释放, 公布

2.DirectX中的release函数:

英文解释:

IUnknown::Release Decreases the reference count of the interface by 1.

ULONG Release();

Parameters:

None

Return Values:

Returns the new reference count. This value is for diagnostic and testing purposes only.

Remarks:The object that exports the interface deallocates itself when its total reference count reaches 0. Use the IUnknown::AddRef method to increase the interface's reference count by 1.

Applications must call this method to release only those interfaces that were explicitly created in a previous call to IUnknown::AddRef,IUnknown::QueryInterface, or a creation function, such as Direct3DCreate9.

Requirements:

Header: Declared in Unknwn.h.

中文解释:

作用:

 将dx接口的数量减1,即释放当前接口

函数原型:

ULONG Release(VOID);

返回值:

返回新的接口数。 此数值紧用于诊断和测试。

附注:

当继承接口而来的对象的总引用数量达到0时,他会释放自己。使用IUnknown::AddRef 函数可以增加

应用程序必须调用此函数释放这些接口,这些接口包括之前调用 IUnknown::AddRef IUnknown::QueryInterface产生的,也包括通过一个产生函数比如Direct3DCreate9,产生的。

注:引自DirectX sdk文档(翻译不太准确,参考)。

3.在Quality Center 中的定义

A Releaserepresent a group of changes in an application ,which are ready for distribution at the same time.

在Quality Center中,人们常常需要辨析Cycle 和Release,这里的Cycle的释义为:

A cyclerepresents a development and QA cycle based on the project timeline.

4.在dhcp报文中的定义

1.client广播discover报文寻找dhcp服务器

2.dhcp-server回复offer报文

3.clinet正式发送request报文请求地址

4.server回复ack

这是整个dhcp获取ip地址的基本流程

但是在某些情况下client在获取dhcp-server给其分配的地址后会放弃该地址,

此时,client主动放弃地址就会向dhcp发送release报文解约。

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/2/25 0:30:09