X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B083158.7040801@gmail.com>
Date: Sat, 21 Nov 2009 18:28:40 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: Dave Korn <dave.korn.cygwin@googlemail.com>
CC: cygwin@cygwin.com
Subject: Re: Use of Dual Core causes random failures building OpenJDK
References: <4B061709.2040507@cygwin.com> 	 <20091120112052.GT29173@calimero.vinschen.de> 	 <20091120143237.GD18289@ednor.casa.cgf.cx> 	 <20091120144958.GW29173@calimero.vinschen.de> 	 <b0ddfae80911201019m4832a7f9k684b502b52a05ce3@mail.gmail.com> 	 <20091120184906.GA27241@ednor.casa.cgf.cx> 	 <b0ddfae80911201104g705e4a1bkb2bd526a50eb8ea2@mail.gmail.com> 	 <20091121121218.GZ29173@calimero.vinschen.de> 	 <b0ddfae80911210516t36d42aadj6496b054a9f694c8@mail.gmail.com> 	 <20091121173625.GB9003@ednor.casa.cgf.cx> <b0ddfae80911211004j3046a795y9ab3a3ba7374a859@mail.gmail.com> <4B083047.8050101@gmail.com>
In-Reply-To: <4B083047.8050101@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dave Korn wrote:
> If they aren't from the same
> process, they cannot be updating the same copy of the environment, since each
> process has its own

http://msdn.microsoft.com/en-us/library/ms682653(VS.85).aspx

  MSDN reference: hopefully this should clear up the details about how
environment blocks behave.  Note particularly that changes are never
propagated back *up* to the global system environment; you have to write to
the registry to change them, and that is indeed properly serialized.

    cheers,
      DaveK

--
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

