Skip to content

mp.set_start_method("spawn") targets wrong module #46

@nkemnitz

Description

@nkemnitz

The code currently uses the standard libraries multiprocessing.set_start_method. But when calling pathos.pools.ProcessPool, this is never recognized, because pathos internally uses a fork of the stdlib called multiprocess.

I think switching to import multiprocess as mp is the quickest fix and would also avoid mixing multiprocessing.Queue (stdlib) with the pathos stuff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions