Problem with multiprocessing module from Python
Jean-Pierre Flori
jpflori@gmail.com
Tue Oct 29 21:25:00 GMT 2013
Le Tue, 29 Oct 2013 16:59:35 -0400, Christopher Faylor a écrit :
> If you want this fixed, the easiest way to get that to happen is to post
> a simple test case which reproduces the problem. That is not the code
> snippet that you sent. A real working example would be required.
Sorry about that.
Here you go:
"""
from multiprocessing import Pool
def f(x): return x
p = pool(2)
p.map(f, [1, 2])
"""
Best,
JP
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list