| Overview | Namespace | Class | 索引 | Help |
::
struct _rtl_ModuleCount
- Base Classes
- 非,不,無.
- Known Derived Classes
- 非,不,無.
| 事実上の | abstract | interface | template |
| NO | NO | NO | NO |
- Description
- Pointers to
rtl_ModuleCountare passed as arguments to the default factory creator 機能(する)/行事s:createSingleComponentFactory,createSingleFactory,createOneInstanceFactory. The factory 実施 is callingrtl_ModuleCount.acquirewhen it is 存在 建設するd and it is callingrtl_ModuleCount.解放(する). The 実施s ofacquireand解放(する)should 影響(力) the return value ofcomponent_canUnloadin a way that it returnssal_Falseafteracquirehas been called. That is the module will not be 荷を降ろすd once a default factory has been created. A call to解放(する)may 原因(となる)component_canUnloadto returnsal_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
acquireand解放(する)as a whole. 簡単に sychronize the 接近 to a 反対する variable, e.g. thertl_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 foracquireand解放(する). See struct_rtl_StandardModuleCount.
- とじ込み/提出する
- 荷を降ろす.h
最高の,を越す of Page
Copyright © 2012, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.

