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.

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.