youtube-dl-webui icon indicating copy to clipboard operation
youtube-dl-webui copied to clipboard

multiprocess problem

Open cyberskycat opened this issue 5 years ago • 0 comments

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 avatar Mar 17 '19 16:03 cyberskycat