Skip to content

Commit

Permalink
change queue to manager queue
Browse files Browse the repository at this point in the history
  • Loading branch information
Psy-Fer committed Apr 30, 2024
1 parent 0860e66 commit 97306a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/buttery_eel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 97306a8

Please sign in to comment.