I've just bought a reasonably capable quad core desktop and I want to start utilizing some of the advantages that multi core processing can offer.
I have two simple counting functions, and I would like them to execute simultaneously.
Does anyone know where I can start my research into the topic or have any friendly pointers they can offer?
x = 1
y = 0
def countodd(x):
while (x<= 10):
x = x+2
print x
def counteven(y):
while (y <= 10):
y = y+2
print y
def call():
if(x<=10):
countodd(x)
if(y<=10):
counteven(y)
call()