참고 : programmer.group/python-collections.deque-vs-queue.queue-vs-multiprocessing.queue.html Python collections.deque vs. Queue.Queue vs. multiprocessing.Queue Generally speaking, multiprocessing.Queue is used when communication between processes is needed; Queue.Queue is used when communication between threads is needed in the same process; and collections.deque is usually used as a data structu..