Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 46 for thread (0.025 sec.)
17.10. _dummy_thread --- _thread の代替モジュール — Python 3.6.5 ドキュメント 13867
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 17. 並行実行 » 17.10. _dummy_thread --- _thread の代替モジュール ¶ ソースコード: Lib/_ ... dummy_thread.py このモジュールは _thread モジュールのインターフ ... ェースをそっくりまねるものです。 _thread モジュールがサポートされていないプラットフォームで ... 作られたものです。 おすすめの使い道は: try : import _thread except ImportError : import _dummy_thread as _thre ...
https://man.plustar.jp/python/library/_dummy_thread.html - [similar]
17.9. _thread --- 低水準の スレッド API — Python 3.6.5 ドキュメント 12647
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 17. 並行実行 » 17.9. _thread --- 低水準の スレッド API ¶ このモジュールはマルチ ... セマフォ ( binary semaphores ))が提供されています。 threading モジュールは、このモジュール上で、より使い易く高 ... I IRIX、Solaris 2.x、そして POSIX スレッド (別名 "pthread") を実装するシステム上でサポートされます。 _thread ... を使用することのできないシステムでは、 _dummy_thread が用意されています。 dummy_thread はこのモジュール ...
https://man.plustar.jp/python/library/_thread.html - [similar]
17.1. threading --- スレッドベースの並列処理 — Python 3.6.5 ドキュメント 10938
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 17. 並行実行 » 17.1. threading --- スレッドベースの並列処理 ¶ ソースコード: Li ... b/threading.py このモジュールでは、高水準のスレッドインタフ ... ェースをより低水準 な _thread モジュールの上に構築しています。 queue モジュールの ... ドキュメントも参照してください。 また、 _thread がないために threading を使えないような状況向けに ...
https://man.plustar.jp/python/library/threading.html - [similar]
21.21. socketserver --- ネットワークサーバのフレームワーク — Python 3.6.5 ドキ... 10328
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 扱うスレッドを生成することです; ForkingMixIn および ThreadingMixIn 配合クラス (mix-in classes) を使えば、非同 ... ose the socket (unless you used a with statement). ThreadingMixIn から継承してスレッドを利用した接続を行う場 ... な通信切断時の処理を明示的に指定する必要があります。 ThreadingMixIn クラスには daemon_threads 属性があり、サー ... 明示的に指定します。デフォルトは False で、Pythonは ThreadingMixIn クラスが起動した全てのスレッドが終了するま ...
https://man.plustar.jp/python/library/socketserver.html - [similar]
ライブラリと拡張 FAQ — Python 3.6.5 ドキュメント 9229
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... スレッドを使ったプログラムを書くにはどうしますか? ¶ _thread モジュールではなく、必ず threading モジュールを使っ ... てください。 threading モジュールは、 _thread モジュールで提供される低 ... するのに十分な時間のスリープを加えることです: import threading , time def thread_task ( name , n ): for i in r ... n ): print ( name , i ) for i in range ( 10 ): T = threading . Thread ( target = thread_task , args = ( str ...
https://man.plustar.jp/python/faq/library.html - [similar]
18.8. signal --- 非同期イベントにハンドラを設定する — Python 3.6.5 ドキュメント 9107
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ナルをスレッド間通信に使うことはできません。代わりに threading モジュールが提供している同期プリミティブを利用で ... sted below were turned into enums . getsignal() , pthread_sigmask() , sigpending() and sigwait() functions r ... したときに SIGPROF を送ります。 signal. SIG_BLOCK ¶ pthread_sigmask() の how 引数に渡せる値で、シグナルがブロッ ... ます。 バージョン 3.3 で追加. signal. SIG_UNBLOCK ¶ pthread_sigmask() の how 引数に渡せる値で、シグナルがブロッ ...
https://man.plustar.jp/python/library/signal.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 8558
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... レッドからのロギングの例です: import logging import threading import time def worker ( arg ): while not arg [ ... ogging . DEBUG , format = ' %(relativeCreated)6d %(threadName)s %(message)s ' ) info = { 'stop' : False } th ... read = threading . Thread ( target = worker , args = ( info ,)) ... t KeyboardInterrupt : info [ 'stop' ] = True break thread . join () if __name__ == '__main__' : main () When ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
17.8. dummy_threading --- threading の代替モジュール — Python 3.6.5 ドキュメン... 8436
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 17. 並行実行 » 17.8. dummy_threading --- threading の代替モジュール ¶ ソースコード: ... Lib/dummy_threading.py このモジュールは threading モジュールのインタ ... ーフェースをそっくりまねるものです。 _thread モジュールがサポートされていないプラットフォームで ... 作られたものです。 おすすめの使い道は: try : import threading except ImportError : import dummy_threading as ...
https://man.plustar.jp/python/library/dummy_threading.html - [similar]
17. 並行実行 — Python 3.6.5 ドキュメント 8009
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... チタスク) に依存します。ここに概観を示します: 17.1. threading --- スレッドベースの並列処理 17.1.1. スレッドロ ... ーカルデータ 17.1.2. Thread オブジェクト 17.1.3. Lock オブジェクト 17.1.4. RLo ... 並列タスク実行 17.4.1. Executor オブジェクト 17.4.2. ThreadPoolExecutor 17.4.2.1. ThreadPoolExecutor の例 17.4 ... の一部で使われるサポートモジュールです: 17.8. dummy_threading --- threading の代替モジュール 17.9. _thread -- ...
https://man.plustar.jp/python/library/concurrency.html - [similar]
初期化 (initialization)、終了処理 (finalization)、スレッド — Python 3.6.5 ドキ... 7704
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 数が設定されていればその値を返します。 スレッド状態 (thread state) とグローバルインタプリタロック (global inte ... Python インタプリタはスレッドごとに必要な情報を PyThreadState と呼ばれるデータ構造の中に保存します。そしてグ ... ローバル変数として現在の PyThreadState を指すポインタを1つ持ちます。このグローバル変 ... 数は PyThreadState_Get() を使って取得できます。 拡張コード内で G ...
https://man.plustar.jp/python/c-api/init.html - [similar]
PREV 1 2 3 4 5 NEXT