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

翻訳前ページへ


Methods of Class Semaphore
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class Semaphore


Semaphore
Semaphore(
sal_uInt32 initialCount );

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

要約
Creates a semaphore.
Parameters
InitialCount
denotes the starting value the semaphore. If you 始める,決める it to
無, the first acquire() 封鎖するs. さもなければ InitialCount acquire()s  are
immedeatly  successfull.
Return
0 if the semaphore could not be created, さもなければ a 扱う to the sem.

~Semaphore
~Semaphore();

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

要約
解放(する) the OS-structures and 解放する/自由な semaphore data-structure
Return
fbbb

acquire
sal_Bool acquire();

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

要約
acquire()減少(する)s the count. It will 封鎖する if it tries to 減少(する) below 無.
Return
誤った if the system-call failed.

tryToAcquire
sal_Bool tryToAcquire();

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

Description
tryToAcquire()tries to 減少(する)s the count. It will return with 誤った if it would 減少(する) the count below 無. (When acquire() would 封鎖する.) If it could 首尾よく 減少(する) the count, it will return True.

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

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

要約
解放(する)()増加するs the count.
Return
誤った if the system-call failed.

Semaphore
Semaphore(
const Semaphore & );

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

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

Semaphore
Semaphore(
oslSemaphore Semaphore );

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

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

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

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

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

操作者=
Semaphore & 操作者=(
oslSemaphore );

事実上の 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 oslSemaphore argument.

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