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

翻訳前ページへ


Methods of Class Mutex
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class Mutex


Mutex
Mutex();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Create a thread-地元の mutex.
Return
0 if the mutex could not be created, さもなければ a 扱う to the mutex.
See Also
::osl_createMutex()

~Mutex
~Mutex();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
解放(する) the OS-structures and 解放する/自由な mutex data-structure.
See Also
::osl_destroyMutex()

acquire
sal_Bool acquire();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Acquire the mutex, 封鎖する if already acquired by another thread.
Return
sal_False if system-call fails.
See Also
::osl_acquireMutex()

tryToAcquire
sal_Bool tryToAcquire();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Try to acquire the mutex without 封鎖するing.
Return
sal_False if it could not be acquired.
See Also
::osl_tryToAcquireMutex()

解放(する)
sal_Bool 解放(する)();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
解放(する) the mutex.
Return
sal_False if system-call fails.
See Also
::osl_releaseMutex()

Mutex
Mutex(
const Mutex & );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO NO NO

要約
The underlying oslMutex has no 言及/関連 count.
Description
Since the underlying oslMutex is not a 言及/関連 counted 反対する, copy 建設するd Mutex may work on an already destructed oslMutex 反対する.

Mutex
Mutex(
oslMutex Mutex );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO NO NO

要約
The underlying oslMutex has no 言及/関連 count.
Description
When destructed, the Mutex 反対する destroys the undelying oslMutex, which might 原因(となる) 厳しい problems in 事例/患者 it's a 一時的な 反対する.

操作者=
Mutex & 操作者=(
const Mutex & );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO NO NO

要約
This assignment 操作者 is 私的な for the same 推論する/理由 as the copy 建設者.

操作者=
Mutex & 操作者=(
oslMutex );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO NO NO

要約
This assignment 操作者 is 私的な for the same 推論する/理由 as the 建設者 taking a oslMutex argument.

getGlobalMutex
static Mutex * getGlobalMutex();

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO YES YES NO

Description
Returns a 全世界の static mutex 反対する. The 全世界の and static mutex 反対する can be used to initialize other static 反対するs in a thread 安全な manner.
Return
the 全世界の mutex 反対する
See Also
::osl_getGlobalMutex()

最高の,を越す 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.