このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


struct _rtl_ModuleCount
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


::

struct _rtl_ModuleCount


Base Classes
非,不,無.
Known Derived Classes
非,不,無.

事実上の abstract interface template
NO NO NO NO
Description
Pointers to rtl_ModuleCount are passed as arguments to the default factory creator 機能(する)/行事s: createSingleComponentFactory, createSingleFactory, createOneInstanceFactory. The factory 実施 is calling rtl_ModuleCount.acquire when it is 存在 建設するd and it is calling rtl_ModuleCount.解放(する). The 実施s of acquire and 解放(する) should 影響(力) the return value of component_canUnload in a way that it returns sal_False after acquire has been called. That is the module will not be 荷を降ろすd once a default factory has been created. A call to 解放(する) may 原因(となる) component_canUnload to return sal_False, but only if there are no 反対する alive which 起こる/始まるd from the module. These 反対するs are factory instances and the service instances which have been created by these factories.

It is not necessary to synchronize acquire and 解放(する) as a whole. 簡単に sychronize the 接近 to a 反対する variable, e.g. the rtl_moduleCount_release 実施:

extern "C" 無効の rtl_moduleCount_acquire(rtl_ModuleCount * that )
{
    rtl_StandardModuleCount* pMod= (rtl_StandardModuleCount*)that;
    osl_incrementInterlockedCount( &pMod->反対する);
}
The SAL library 申し込む/申し出s 機能(する)/行事s that can be used for acquire and 解放(する). See struct _rtl_StandardModuleCount.
とじ込み/提出する
荷を降ろす.h

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.