poky/bitbake/lib/bb/server
Joshua Watt d363bc475a bitbake: Use a "fork" multiprocessing context
Python 3.14 changes the default multiprocessing context from "fork" to
"forkserver"; however bitbake heavily relies on "fork" to efficiently
pass data to the child processes. As such, make "fork" context in the bb
namespace and use it in place of the normal multiprocessing module.

Note that multiprocessing contexts were added in Python 3.4, so this
should be safe to use even before Python 3.14

[YOCTO #15858]

(Bitbake rev: 62be9113d98fccb347c6aa0a10d5c4ee2857f8b6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-23 11:34:31 +01:00
..
__init__.py bitbake: bitbake: Drop duplicate license boilerplace text 2019-05-04 10:44:10 +01:00
process.py bitbake: Use a "fork" multiprocessing context 2025-07-23 11:34:31 +01:00
xmlrpcclient.py bitbake: lib: remove unused imports 2020-01-19 13:31:05 +00:00
xmlrpcserver.py bitbake: cooker: use enum for cooker state to improve readability 2024-12-06 23:33:54 +00:00