Results of 1 - 10 of about 84 for fork (0.035 sec.)
- オペレーティングシステム関連のユーティリティ — Python 3.14.8 ドキュメント 12559
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » オペレーティングシステム関連のユーティリティ テーマ 自動 ライト ダーク | オペレーティングシステム関連のユーティリ
...to one of the strings '<stdin>' or '???' . This function must not be called before Python is initialized. void PyOS_BeforeFork ( ) ¶ 次に属します: Stable ABI on platforms with fork() (バージョン 3.7 より). プロセスがフォークする前に、いくつかの内部状...態を準備するための関数です。 fork() や現在のプロセスを複製するその他の類似の関数を呼び出す前にこの関数を呼びださなければなりません。 fork() が定義されている...システムでのみ利用できます。 警告 The C fork() call should only be made from the "main" thread (of the "main" interpreter ). The same is true for PyOS_BeforeFork() . A... - https://man.mtool.work/python/3.14/c-api/sys.html
- オペレーティングシステム関連のユーティリティ — Python 3.14.8 ドキュメント 12559
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » オペレーティングシステム関連のユーティリティ テーマ 自動 ライト ダーク | オペレーティングシステム関連のユーティリ
...to one of the strings '<stdin>' or '???' . This function must not be called before Python is initialized. void PyOS_BeforeFork ( ) ¶ 次に属します: Stable ABI on platforms with fork() (バージョン 3.7 より). プロセスがフォークする前に、いくつかの内部状...態を準備するための関数です。 fork() や現在のプロセスを複製するその他の類似の関数を呼び出す前にこの関数を呼びださなければなりません。 fork() が定義されている...システムでのみ利用できます。 警告 The C fork() call should only be made from the "main" thread (of the "main" interpreter ). The same is true for PyOS_BeforeFork() . A... - https://man.mtool.work/python/3.14/c-api/sys.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 9985
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless
...eption */ /* Release the thread. No Python API allowed beyond this point. */ PyGILState_Release ( gstate ); Cautions about fork() ¶ Another important thing to note about threads is their behaviour in the face of the C fork() call. On most systems wit...h fork() , after a process forks only the thread that issued the fork will exist. This has a concrete impact both on how locks mu...only the "current" thread remains means any locks held by other threads will never be released. Python solves this for os.fork() by acquiring the locks it uses internally before the fork, and releasing them afterwards. In addition, it resets any Loc... - https://man.mtool.work/python/3.14/c-api/threads.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 9985
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless
...eption */ /* Release the thread. No Python API allowed beyond this point. */ PyGILState_Release ( gstate ); Cautions about fork() ¶ Another important thing to note about threads is their behaviour in the face of the C fork() call. On most systems wit...h fork() , after a process forks only the thread that issued the fork will exist. This has a concrete impact both on how locks mu...only the "current" thread remains means any locks held by other threads will never be released. Python solves this for os.fork() by acquiring the locks it uses internally before the fork, and releasing them afterwards. In addition, it resets any Loc... - https://man.mtool.work/python/3.14/c-api/threads.html
- Support for Perf Maps — Python 3.14.8 ドキュメント 9416
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » Support for Perf Maps テーマ 自動 ライト ダーク | Support for Perf Maps ¶ On supported platforms (as of this wri
...er shut-down. In general, there shouldn't be a reason to explicitly call this, except to handle specific scenarios such as forking. int PyUnstable_CopyPerfMapFile ( const char * parent_filename ) ¶ これは Unstable API です。マイナーリリースで予告なく...poline. The "current" trampoline is the one set by the runtime or the most recent PyUnstable_PerfTrampoline_SetPersistAfterFork() call. If no trampoline is set, falls back to normal compilation (no perf map entry). パラメータ : code -- The code objec...t to compile. 戻り値 : 0 on success, -1 on failure. Added in version 3.13. int PyUnstable_PerfTrampoline_SetPersistAfterFork ( int enable ) ¶ これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 Set whether the perf tramp... - https://man.mtool.work/python/3.14/c-api/perfmaps.html
- multiprocessing --- プロセスベースの並列処理 — Python 3.14.8 ドキュメント 8752
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing --- プロセスベースの並列処理 テーマ 自動 ライト ダーク | multiprocessing --- プロセスベースの並列処理 ¶
...ースのみ継承します。特に、親プロセスからの不要なファイル記述子とハンドルは継承されません。この方式を使用したプロセスの開始は fork や forkserver に比べ遅くなります。 Available on POSIX and Windows platforms. The default on Windows and macOS. fork 親プロ...セスは os.fork() を使用して Python インタープリターをフォークします。子プロセスはそれが開始されるとき、事実上親プロセスと同一になります。...e on POSIX systems. バージョン 3.14 で変更: This is no longer the default start method on any platform. Code that requires fork must explicitly specify that via get_context() or set_start_method() . バージョン 3.12 で変更: If Python is able to detect... - https://man.mtool.work/python/3.14/library/multiprocessing.html
- 変更履歴 — Python 3.14.8 ドキュメント 8752
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...: Fix a pickling error in the cProfile module when profiling a script that uses multiprocessing.Process with the spawn and forkserver start methods. gh-113329 : Fix OSError being raised when trying to run doctests on a class objects in the REPL. Patc...ts size field can no longer trigger memory exhaustion. gh-151403 : Fixed a crash in subprocess.Popen (and _posixsubprocess.fork_exec ) when an argv item's __fspath__() concurrently mutates the args sequence being converted. gh-151390 : Colorize match...set_threshold() and garbage collection scheduling during object allocation. gh-149156 : Fix an intermittent crash after os.fork() when perf trampoline profiling is enabled and the child returns through trampoline frames inherited from the parent proc... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- multiprocessing --- プロセスベースの並列処理 — Python 3.14.8 ドキュメント 8752
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing --- プロセスベースの並列処理 テーマ 自動 ライト ダーク | multiprocessing --- プロセスベースの並列処理 ¶
...ースのみ継承します。特に、親プロセスからの不要なファイル記述子とハンドルは継承されません。この方式を使用したプロセスの開始は fork や forkserver に比べ遅くなります。 Available on POSIX and Windows platforms. The default on Windows and macOS. fork 親プロ...セスは os.fork() を使用して Python インタープリターをフォークします。子プロセスはそれが開始されるとき、事実上親プロセスと同一になります。...e on POSIX systems. バージョン 3.14 で変更: This is no longer the default start method on any platform. Code that requires fork must explicitly specify that via get_context() or set_start_method() . バージョン 3.12 で変更: If Python is able to detect... - https://man.mtool.work/python/3.14/library/multiprocessing.html
- Support for Perf Maps — Python 3.14.8 ドキュメント 8630
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » Support for Perf Maps テーマ 自動 ライト ダーク | Support for Perf Maps ¶ On supported platforms (as of this wri
...er shut-down. In general, there shouldn't be a reason to explicitly call this, except to handle specific scenarios such as forking. int PyUnstable_CopyPerfMapFile ( const char * parent_filename ) ¶ これは Unstable API です。マイナーリリースで予告なく...poline. The "current" trampoline is the one set by the runtime or the most recent PyUnstable_PerfTrampoline_SetPersistAfterFork() call. If no trampoline is set, falls back to normal compilation (no perf map entry). パラメータ : code -- The code objec...t to compile. 戻り値 : 0 on success, -1 on failure. Added in version 3.13. int PyUnstable_PerfTrampoline_SetPersistAfterFork ( int enable ) ¶ これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 Set whether the perf tramp... - https://man.mtool.work/python/3.14/c-api/perfmaps.html
- os --- 雑多なオペレーティングシステムインターフェース — Python 3.14.8 ドキュメ... 8413
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » os --- 雑多なオペレーティングシステムインターフェース テーマ 自動 ライト ダーク | os --- 雑多
...字列型両方のオブジェクトを受け付け、パスやファイル名を返す時は、同じ型のオブジェクトを返します。 VxWorks では、os.popen, os.fork, os.execv および os.spawn*p* はサポートされていません。 On WebAssembly platforms, Android and iOS, large parts of the os m...odule are not available or behave differently. APIs related to processes (e.g. fork() , execve() ) and resources (e.g. nice() ) are not available. Others like getuid() and getpid() are emulated or stubs. We..., / ) ¶ key という名前の環境変数に文字列 value を設定します。このような環境変数の変更は、 os.system() 、 popen() 、または fork() と execv() で起動されたサブプロセスに影響を与えます。 os.environ の要素に代入すると、それは putenv() の呼び出しに自動変換... - https://man.mtool.work/python/3.14/library/os.html