How to use Queue in concurrent.futures.ProcessPoolExecutor()?
问题 Disclaimer : I'm new to Python in general. I have a small experience with Go, where implementing a queue using a channel is really easy. I want to know how can I implement a Queue with ProcessPoolExecutor in Python 3. I want my N number of process to access a single queue so that I can just insert many jobs in the queue via the main thread, then the processes will just grab the jobs in the Queue. Or if there is a better way to share a list/queue between multiple processes. (Job Queue/ Worker