Return-Path: Delivered-To: apmail-gump-general-archive@www.apache.org Received: (qmail 25611 invoked from network); 6 Jul 2004 15:59:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Jul 2004 15:59:29 -0000 Received: (qmail 39052 invoked by uid 500); 6 Jul 2004 15:42:35 -0000 Delivered-To: apmail-gump-general-archive@gump.apache.org Received: (qmail 38910 invoked by uid 500); 6 Jul 2004 15:42:34 -0000 Mailing-List: contact general-help@gump.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Gump code and data" Reply-To: "Gump code and data" Delivered-To: mailing list general@gump.apache.org Received: (qmail 38813 invoked by uid 99); 6 Jul 2004 15:42:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [130.214.10.19] (HELO mx1.try.sybase.com) (130.214.10.19) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 06 Jul 2004 08:42:31 -0700 Received: from mail.try.sybase.com (mail.try.sybase.com [130.214.10.18]) by mx1.try.sybase.com (8.11.6/8.11.0) with ESMTP id i66Ehl205661 for ; Tue, 6 Jul 2004 08:43:47 -0600 Received: from tsws1 ([10.22.120.46]) by mail.try.sybase.com (8.11.6/8.11.6) with SMTP id i66FJCk06748 for ; Tue, 6 Jul 2004 09:19:13 -0600 Message-ID: <047501c4636f$d4c81aa0$40efea43@sybase.com> From: "Adam R. B. Jack" To: "Gump code and data" References: <00df01c45eaa$ebbdeb00$531ee641@sybase.com> <40E57390.9090206@gmx.de> <02c301c46046$4de77c50$c01ee641@sybase.com> Subject: Re: Multithreading the updates Date: Tue, 6 Jul 2004 09:26:57 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > The code doesn't appear to be breaking (despite Python not locking in base > classes like lists, and the Gump code not locking all that it might). I > tried doing a Google search for locking in Python, and really found little > "street wise" information. I found some updates from a Mr Stein (a gent, not > a gazillion miles from ASF ;-) but little that really told me what the risks > are w/ running large pieces of Python in separate threads. I guess we suck > it and see. We'll sucked ... and it sucked. ;-) Something was not playing nicely. I believe the issue is likely to do with the fact that to launch a new executable (CVS|SVN or whatever) Python Gump currently uses process global CD and process global ENV modifications, then spawn's via system(). Clearly that this is not thread safe. Basically I've always hated this portion of the code, just never had chance/incentive to re-write it to those complex alternatives. This might be the time. Just giving a heads up as to why I disabled threads on the JDK1.5 and gump.try servers... regards, Adam --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@gump.apache.org For additional commands, e-mail: general-help@gump.apache.org