Python Forum
How to use multiprocessing with an array that is continually being appended
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use multiprocessing with an array that is continually being appended
#2
I think a Queue is what you're looking for. One process can add things to it, another can take them out. If each of your tasks/processes has an "in" and an "out" queue, you can chain them together to work on data together.

https://docs.python.org/3/library/multip...sing.Queue
Reply


Messages In This Thread
RE: How to use multiprocessing with an array that is continually being appended - by nilamo - Jun-25-2019, 09:04 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020