Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiprocess problem #30

Open
cyberskycat opened this issue Mar 17, 2019 · 0 comments
Open

multiprocess problem #30

cyberskycat opened this issue Mar 17, 2019 · 0 comments

Comments

@cyberskycat
Copy link

i plan extend the youtube-dl-webui code to meet my demand,
but i found some mutliprocess data access problem.
i think the code queue.get and after queue.get will return wrong data sometimes.

    1:MSG.put('create', payload)
    2:return json.dumps(MSG.get())

after line 1 code, maybe another thread put data in queue, so return data maybe wrong

@cyberskycat cyberskycat changed the title code problem ,multi process problem? multiprocess problem Mar 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant