Antoine Pitrou added the comment:
How did you get Python for Cygwin? Did you compile it yourself?
Python is not supported on Cygwin (we recommend using the native Windows builds
instead) and I'm not surprised that multiprocessing, which uses delicate
platform-specific code, would fail working o
New submission from Julien Verger:
Hello,
i'm trying to use the sample code that is documented here:
https://docs.python.org/2/library/multiprocessing.html
from multiprocessing import Pool
def f(x):
return x*x
if __name__ == '__main__':
p = Pool(5)
print(p.map(f, [1, 2, 3]))
This