Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with multiprocessing
#6
After looking over it again, the join() calls probably aren't the problem. Rather, it's likely the Queue that's the culprit. Multiprocessing uses different processors which normally would not be able to share information. This is because each processor has its own dedicated memory cache; this contrasts with multithreading which runs multiple threads on a single processor.

However, the multiprocessing module provides utilities to get around that. Check out this Geek for Geek article about multiprocessing for possible solutions.
Reply


Messages In This Thread
Help with multiprocessing - by dsc77 - Nov-12-2019, 07:53 PM
RE: Help with multiprocessing - by stullis - Nov-12-2019, 10:50 PM
RE: Help with multiprocessing - by dsc77 - Nov-13-2019, 05:56 PM
RE: Help with multiprocessing - by stullis - Nov-13-2019, 08:59 PM
RE: Help with multiprocessing - by dsc77 - Nov-15-2019, 11:20 PM
RE: Help with multiprocessing - by stullis - Nov-19-2019, 01:17 AM
RE: Help with multiprocessing - by wrongfuloyster - Apr-07-2020, 04:56 PM

Forum Jump:

User Panel Messages

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