From 97306a847b76b8a51f88e682e7fe39ec654abf08 Mon Sep 17 00:00:00 2001 From: Psy-Fer Date: Tue, 30 Apr 2024 17:20:58 +1000 Subject: [PATCH] change queue to manager queue --- src/buttery_eel.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/buttery_eel.py b/src/buttery_eel.py index 376183c..9cb641d 100755 --- a/src/buttery_eel.py +++ b/src/buttery_eel.py @@ -966,8 +966,10 @@ def main(): print() mp.set_start_method('spawn') - input_queue = mp.JoinableQueue() - result_queue = mp.JoinableQueue() + im = mp.Manager() + rm = mp.Manager() + input_queue = im.JoinableQueue() + result_queue = rm.JoinableQueue() processes = [] reader = mp.Process(target=read_worker, args=(args, input_queue), name='read_worker') reader.start()