派生詞
其adj是releasable(能釋放的,可免除的),其n是releasee(被免除債務者,受讓人),
其n(指人)是releaser(釋放者,排氣裝置),亦有releasor(放棄權利者,讓渡人)。
函式
英文解釋
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文檔(翻譯不太準確,參考)。
定義
在QC中
QC是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.
在dhvp中
1.client廣播discover報文尋找dhcp伺服器
2.dhcp-server回復offer報文
3.clinet正式傳送request報文請求地址
4.server回復ack
這是整個dhcp獲取ip地址的基本流程
但是在某些情況下client在獲取dhcp-server給其分配的地址後會放棄該地址,
此時,client主動放棄地址就會向dhcp傳送 release報文解約。