Skip to content

Attempt to run with multiprocessing #562

Closed
@processing-bot

Description

Created by: inapeace0

I’ve developed a python script to run processing-java command with multiprocessing pool.

— Python Script—

from multiprocessing import Pool
def func(meta):

os.system(“./processing/processing-java --sketch="” + cwd + “/oscilloscope/" --run " + str(meta) + "
mint”)

pool = Pool()
pool.map(func, range(len(metadata)))

At first, I see the generating starts well at first and some complete video files come out, but all processes are slept, and the video files never come out anymore at some point.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    has attachmentAttachment was not transfered from GitLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions