Overview | Namespace | Class | 索引 | Help |
全世界の 機能(する)/行事s in 全世界の Namespace C++
in Sourcefile thread.h
- osl_createSuspendedThread
- extern "C"
oslThread osl_createSuspendedThread( oslWorkerFunction pWorker, 無効の * pThreadData );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- Description
- Create the thread, using the 機能(する)/行事-ptr pWorker as its main (労働者) 機能(する)/行事. This 機能(する)/行事s receives in its 無効の* parameter the value 供給(する)d by pThreadData. The thread will be created, but it won't start running. To wake-up the thread, use 再開する().
- Return
- 0 if 創造 failed, さもなければ a 扱う to the thread
- osl_createThread
- extern "C"
oslThread osl_createThread( oslWorkerFunction pWorker, 無効の * pThreadData );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- Description
- Create the thread, using the 機能(する)/行事-ptr pWorker as its main (労働者) 機能(する)/行事. This 機能(する)/行事s receives in its 無効の* parameter the value 供給(する)d by pThreadData. Once the OS-structures are initialized,the thread starts running.
- Return
- 0 if 創造 failed, さもなければ a 扱う to the thread
- osl_createThreadKey
- extern "C"
oslThreadKey osl_createThreadKey( oslThreadKeyCallbackFunction pCallback );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- Create a 重要な to an associated thread 地元の 貯蔵 pointer.
- osl_destroyThread
- extern "C"
無効の osl_destroyThread( oslThread Thread );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- Description
- 解放(する) the thread 扱う. If Thread is NULL, the 機能(する)/行事 won't do anything. 公式文書,認める that we do not 干渉する with the actual running of the thread, we just 解放する/自由な up the memory needed by the 扱う.
- osl_destroyThreadKey
- extern "C"
無効の osl_destroyThreadKey( oslThreadKey 重要な );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- Destroy a 重要な to an associated thread 地元の 貯蔵 pointer.
- osl_getThreadIdentifier
- extern "C"
oslThreadIdentifier osl_getThreadIdentifier( oslThread Thread );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- Get the identifier for the 明示するd thread or if parameter Thread is NULL of the 現在の active thread.
- Return
- identifier of the thread
- osl_getThreadKeyData
- extern "C"
無効の * osl_getThreadKeyData( oslThreadKey 重要な );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- Get to 重要な associated thread 明確な/細部 data.
- osl_getThreadPriority
- extern "C"
oslThreadPriority osl_getThreadPriority( const oslThread Thread );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- Description
- Retrieves the threads 優先. Returns oslThreadPriorityUnknown for 無効の Thread-argument or 終結させるd thread. (I.e.: The oslThread might be 無効の.)
- osl_getThreadTextEncoding
- extern "C"
rtl_TextEncoding osl_getThreadTextEncoding( 無効の );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- Get the 現在の thread 地元の text encoding.
- osl_isThreadRunning
-
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- Description
- Returns True if the thread was created and has not 終結させるd yet. 公式文書,認める that によれば this 鮮明度/定義 a "running" thread might be 一時停止するd! Also returns 誤った is Thread is NULL.
- osl_joinWithThread
- extern "C"
無効の osl_joinWithThread( oslThread Thread );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- 封鎖するs the calling thread until Thread has 終結させるd. Returns すぐに if Thread is NULL.
- osl_resumeThread
- extern "C"
無効の osl_resumeThread( oslThread Thread );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- Wake-up a thread that was 一時停止するd with 一時停止する() or createSuspended(). The oslThread must be valid!
- osl_scheduleThread
-
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- Description
- 申し込む/申し出s the 残り/休憩(する) of the threads time-slice to the OS. scheduleThread() should be called in the working 宙返り飛行 of the thread, so any other thread could also get the 加工業者. Returns 誤った if the thread should 終結させる, so the thread could 解放する/自由な any 配分するd 資源s.
- osl_setThreadKeyData
- extern "C"
sal_Bool osl_setThreadKeyData( oslThreadKey 重要な, 無効の * pData );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- 始める,決める to 重要な associated thread 明確な/細部 data.
- osl_setThreadName
- extern "C"
無効の osl_setThreadName( const char * 指名する );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- 試みる/企てるs to 始める,決める the 指名する of the 現在の thread.
- Description
- The 指名する of a thread is usually 評価するd for debugging 目的s. Not all 壇・綱領・公約s support this. On Linux, a 始める,決める thread 指名する can be 観察するd with "ps -L". On Windows with the Microsoft compiler, a thread 指名する 始める,決める while a debugger is 大(公)使館員d can be 観察するd within the debugger.
- Parameters
指名する the 指名する of the thread; must not be null; on Linux, only the first 16 characters are used
- osl_setThreadPriority
- extern "C"
無効の osl_setThreadPriority( oslThread Thread, oslThreadPriority 優先 );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- Changes the threads 優先. The oslThread must be valid!
- osl_setThreadTextEncoding
- extern "C"
rtl_TextEncoding osl_setThreadTextEncoding( rtl_TextEncoding Encoding );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- 始める,決める the thread 地元の text encoding.
- Return
- the old text encoding.
- osl_suspendThread
- extern "C"
無効の osl_suspendThread( oslThread Thread );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- 一時停止する the 死刑執行 of the thread. If you want the thread to continue, call 再開する(). The oslThread must be valid!
- osl_terminateThread
- extern "C"
無効の osl_terminateThread( oslThread Thread );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- The requested thread will get 終結させる the next time scheduleThread() is called.
- osl_waitThread
- extern "C"
無効の osl_waitThread( const TimeValue * pDelay );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- 要約
- 封鎖するs the calling thread at least for the given number of time.
- osl_yieldThread
- extern "C"
無効の osl_yieldThread( 無効の );
- extern "C"
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO NO YES
- Description
- 申し込む/申し出s the 残り/休憩(する) of the threads time-slice to the OS. Under POSIX you _need_ to 産する/生じる(), さもなければ, since the threads are not 先買権によって獲得するd during 死刑執行, NO other thread (even with higher 優先) gets the 加工業者. 支配(する)/統制する is only given to another thread if the 現在の thread 封鎖するs or uses 産する/生じる().
最高の,を越す 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.