poky/bitbake/lib/hashserv
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: hashserv: server: Add support for SO_REUSEPORT 2024-05-30 07:38:10 +01:00
client.py bitbake: hashserv: Add gc-mark-stream command for batch hash marking 2025-03-13 16:52:44 +00:00
server.py bitbake: hashserv: Add gc-mark-stream command for batch hash marking 2025-03-13 16:52:44 +00:00
sqlalchemy.py bitbake: hashserv: Re-enable connection pooling with psycopg 3 driver 2024-02-23 14:34:05 +00:00
sqlite.py bitbake: hashserv: Fix deprecation warning about sqlite adapter 2025-05-19 17:55:50 +01:00
tests.py bitbake: Use a "fork" multiprocessing context 2025-07-23 11:34:31 +01:00