python multiprocessing question

Xristos Xristoou saxri89 at gmail.com
Sun Sep 3 18:32:19 EDT 2017


hello

i have create a 4 function using python(f1,f2,f3,f4) and i have 4 cores in my system.

def f1()
     ...............
     ...............

def f2()
     ...............
     ...............

def f3()
     ...............
     ...............

def f4()
     ...............
     ...............

that functions operate independently of each other but how to use multiprocessing to define the cores to
work that functions parallel to win some time ?
sorry i am very new and i need some help or some example.



More information about the Python-list mailing list