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

翻訳前ページへ


全世界の 機能(する)/行事s in Namespace in Sourcefile threadpool.h
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


全世界の 機能(する)/行事s in 全世界の Namespace C++
in Sourcefile threadpool.h


uno_bindIdToCurrentThread
extern "C"
sal_Bool uno_bindIdToCurrentThread(
sal_Sequence * pThreadId );

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

Description
設立するs an 協会 between the 現在の thread and the given thread identifier.
There can be only one 協会 at a time. The 協会 must be broken by
uno_releaseIdFromCurrentThread().
This method is in general called by a 橋(渡しをする), that wants to 貯蔵所d a remote threadId
to a new thread.

Parameters
pThreadId
a byte sequence, that 含む/封じ込めるs the identifier of the 現在の thread.
Return
true, when the identifier was 登録(する)d. 
        誤った, when the thread has already an identifier. The identifier was not
        altered. ( This is in general a bug ).

See Also
uno_releaseIdFromCurrentThread()

uno_getIdOfCurrentThread
extern "C"
無効の uno_getIdOfCurrentThread(
sal_Sequence * * ppThreadId );

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

Description
Get the identifier of the 現在の thread.
If no id has been bound for the thread before, a new one is 生成するd and bound
to the thread.
For each call to uno_getIdOfCurrentThread(), a call to uno_releaseIdFromCurrentThread()
must be done. 

Parameters
ppThreadId
含む/封じ込めるs the (acquired) ThreadId.
See Also
uno_releaseIdFromCurrentThread()

uno_releaseIdFromCurrentThread
extern "C"
無効の uno_releaseIdFromCurrentThread();

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

要約
If the 内部の refcount 減少(する)s to 無, the 協会 betwen threadId and
thread is broken.

uno_threadpool_attach
extern "C"
無効の uno_threadpool_attach(
uno_ThreadPool hPool );

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

Description
Makes the 現在の thread known to the threadpool. This 機能(する)/行事 must be
called, BEFORE uno_threadpool_enter() is called and BEFORE a 職業 for this
thread is put into the threadpool (避ける a race between this thread and
an 後継の request/reply).
For every call to uno_threadpool_attach, a corrosponding call to
uno_threadpool_detach must be done.

Parameters
hPool
The 橋(渡しをする) threadpool 扱う 以前 created by uno_threadpool_create.


uno_threadpool_create
extern "C"
uno_ThreadPool uno_threadpool_create();

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

要約
Creates a threadpool 扱う. Typically each remote 橋(渡しをする) instances creates one
扱う.

uno_threadpool_destroy
extern "C"
無効の uno_threadpool_destroy(
uno_ThreadPool hPool );

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

Description
解放(する)s the 以前 with uno_threadpool_create() created 扱う.
The 扱う thus becomes 無効の. It is an error to use the 扱う after
uno_threadpool_destroy().
See Also
uno_threadpool_create()

uno_threadpool_detach
extern "C"
無効の uno_threadpool_detach(
uno_ThreadPool hPool );

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

要約
Detaches the 現在の thread from the threadpool. Must be called for
every call to uno_threadpool_attach.

uno_threadpool_dispose
extern "C"
無効の uno_threadpool_dispose(
uno_ThreadPool hPool );

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

要約
All threads, that are waiting on the hPool 扱う, are 軍隊d out of the pool.
The threads waiting with uno_threadpool_enter() will return with *ppJob == 0

Description
Later calls to uno_threadpool_enter() using the hPool 扱う will also 
return immeadiatly with *ppJob == 0.

Parameters
hPool
The 扱う to be 性質の/したい気がして.
In 事例/患者, hPool is 0, this 機能(する)/行事 joins on all threads created
by the threadpool 行政. This may e.g. used to 確実にする, that
no threads are inside the cppu library anymore, in 事例/患者 it needs to get
荷を降ろすd.

This 機能(する)/行事 is called i.e. by a 橋(渡しをする), that is 軍隊d to 配置する/処分する/したい気持ちにさせる itself.

uno_threadpool_enter
extern "C"
無効の uno_threadpool_enter(
uno_ThreadPool hPool,
無効の * * ppJob );

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

要約
This method is called to wait for a reply of a 以前 sent request. This is a
封鎖するing method. uno_threadpool_attach() must have been called before.

Parameters
hPool
the 扱う that was 以前 created by uno_threadpool_create().
ppJob
the pointer, that was given by uno_threadpool_putJob
0, when uno_threadpool_dispose() was the 推論する/理由 to 落ちる off from threadpool.
See Also
uno_threadpool_dispose()

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