Skip to content

Change ThreadPoolExecutor to ProcessPoolExecutor? #7

@oalieno

Description

@oalieno

executor = concurrent.futures.ThreadPoolExecutor(max_workers=jobs)

executor = concurrent.futures.ThreadPoolExecutor(max_workers=context.params().jobs)

Using thread to handle CPU-bound tasks in python may not be helpful due to the issue of GIL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions