X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=PJix21Sk+y7J86E4fA51u51SOuEzlsZD9y5Mj3FlfYRXNj5+/wy1K 8vedgaxjQKxe4anCEzRXakz1Dx8Md2cCNX3Sl0DtEkQSfetz8vjxilqeUlX1zbGO qdpOp9tkQtbrZZRsPdAIlNZmfS4AghGvMQK6zjY2MBi+1HvztceI9Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=USbACNYwzSqv8ui9KarEAVTTXUE=; b=UKwDPBhw0WjDmqZlLe87KOkTbSx5 WPG+j9MoGoQFI4/2lExmHUeHBurDMojdkMcESoH8jHEo5tLjfDdvKvtaa8b1ZVSn eDlC4WIBv/t2hqxwgZnHVu5PJ7bFeI70p0gzZ6PO8MrZiSAF6qUzx9bOWpWApKmK dqSYpxAC2x0UFwI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Jean-Pierre Flori Subject: Re: Problem with multiprocessing module from Python Date: Tue, 29 Oct 2013 21:19:14 +0000 (UTC) Lines: 19 Message-ID: References: <20131029205935 DOT GC392 AT ednor DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-IsSubscribed: yes 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