Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Change from multi-threading to multiprocessing #6

@20urc3

Description

@20urc3

Python's Global Interpreter Lock (GIL) limits the execution of multiple threads in parallel due to its restrictions on simultaneous thread execution, especially for CPU-bound tasks. For CPU-bound operations, using the multiprocessing module might be more effective since it bypasses the GIL by spawning separate processes.

https://docs.python.org/3/library/multiprocessing.html

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions