Shared queues - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Shared queues (/thread-10151.html) |
Shared queues - l00p1n6 - May-15-2018 Hi, I am trying to share a multiprocessing dictionary (Manager().dict()) of multiprocessing Queues (Manager().Queue()) between multiple python instances/processes (keys are strings). I am running in circles and am always being stopped by something, can someone help me with this? Thank you! RE: Shared queues - buran - May-15-2018 Please, post your code in python tags, as well as full traceback in error tags if you get any exceptions. RE: Shared queues - l00p1n6 - May-15-2018 Let me rephrase: Is it possible to create Manager().dict() of Manager().Queue() values with string as a key, and have it working across multiple instances/processes? RE: Shared queues - DeaD_EyE - May-15-2018 You can put a dict created by manager into the queue, but also a regular dict. You can't put a queue into a dict. |