Python Forum
How to pass a list by value for manipulation within a process?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to pass a list by value for manipulation within a process?
#2
Your title says "within a process", but your body looks like you're trying to share it between multiple processes.

I think if you want to share an object between multiprocessing calls, you need to set up a proxy-object. The proxy uses the object in only one of the processes. That said, I've never attempted to use that configuration.
Reply


Messages In This Thread
RE: How to pass a list by value for manipulation within a process? - by bowlofred - Jun-22-2020, 07:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to pass encrypted pass to pyodbc script tester_V 0 915 Jul-27-2023, 12:40 AM
Last Post: tester_V
  Problem in list manipulation CyKlop 6 2,387 Oct-18-2021, 09:03 AM
Last Post: DeaD_EyE
  How to pass list of values to a API request URL chetansaip99 0 3,570 Sep-28-2021, 07:37 AM
Last Post: chetansaip99
  Pass by object reference when does it behave like pass by value or reference? mczarnek 2 2,602 Sep-07-2020, 08:02 AM
Last Post: perfringo
  Pass by reference vs Pass by value leodavinci1990 1 2,259 Nov-20-2019, 02:05 AM
Last Post: jefsummers
  How to sharing object between multiple process from main process using Pipe Subrata 1 3,713 Sep-03-2019, 09:49 PM
Last Post: woooee
  list manipulation cameronwood611 3 3,632 Oct-03-2017, 02:58 PM
Last Post: ichabod801
  list or dictionary manipulation dtigue 5 114,707 Jul-21-2017, 03:14 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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