0

hi.
i am writing a program in python and i need two things will be processed simultaneously but
because i have a lot of global variables i can n't do it with parallel python library.
i tried multiprocessing and Multithread too but nothing find yet.
can someone suggest me a good library that i can do parallel processing in it with my global variables.
thanks

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by woooee
1

Use a class and instance variables. You can call separate functions within the class using multiprocessing and they will all have access to the instance variables.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.