delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=kDb5lrKhQPOtkmrE08vftg+eLoj9uSIS44IS0iptdgKm0TropAVlA | |
OiFHLB2VIrbAdpXiC8A1gPUyugiVEiBDjYsSGAdAFsmYqTbusj3Qjay3fXecJYUA | |
v/Ise1ATP0qPmXDM76mSvYBi+mmvZhYI/PIe5KLdD0ZdQixBKnr7nQ= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=tAG6/sdDYxgBK/Rq3W6v9HsMLok=; b=ehaZ0/2nhoYRlEyMFZMT2zv4wZRb | |
zypp8BmaFsZ3OB2zSq1jSsAjjxiwETA+ySolq+5wzYnVOYtbFoBN1KTppDg2TrQv | |
olktkqfSVQZZ5cYJVDX9AMw7g5yLRjVg5YvX8P/pkypvLHuPkEsYUSgOEO2V3FU7 | |
XkzrHpTRO455Pxs= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=-101.6 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*F:D*cygwin.com |
X-HELO: | drew.franken.de |
Date: | Wed, 30 Nov 2016 11:44:40 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Retrieving per-process environment block? |
Message-ID: | <20161130104440.GC14074@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAOTD34ZFH5E3r3AuDOXctss46e1hoU2f9pwE1mt4L674J2Ak_A AT mail DOT gmail DOT com> <20161117140012 DOT GA23664 AT calimero DOT vinschen DOT de> <CAOTD34Y9TRq2Qq8Mn2awTf9SCgz0qnbBa-a117pkSEvz9gaHKQ AT mail DOT gmail DOT com> <084579a5-19c0-8475-56bb-c0836ef7088f AT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <084579a5-19c0-8475-56bb-c0836ef7088f@gmail.com> |
User-Agent: | Mutt/1.7.1 (2016-10-04) |
--5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 29 09:11, cyg Simple wrote: > On 11/29/2016 8:26 AM, Erik Bray wrote: > > I could do this, if each process kept a copy of its environment block > > in shared memory, which would in turn have to be updated every time > > the process's environment is updated. But I don't know what the > > impact of that would be performance-wise. > >=20 > > Any advice? > >=20 >=20 > Sounds like a job for a thread that wakes every X time units to check > the contents of the environment. Or is there a notification API that > could be used to wake the thread? I know there is a disk change > notification API for this; maybe one for environment changes as well. Cygwin env =3D=3D POSIX env !=3D Windows env. Not only the content, but also the internal memory handling is different. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --5/uDoXvLw7AC5HRs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYPq2YAAoJEPU2Bp2uRE+gzNcP/2xVe6aCv+MbNVS3T6UN8Y2A QNVvPeFZZmXL+CnXTJEuTLBLTXx2UykqY4uE45QdPXUaM2pljZNF+xgK5wpomixS tF+Ufjnr3zXFjxXjOLUd4P4VK2uPQolN5j17TWn8hq5hZjH6KY6D/UC07wK0wmAf XDnx/MNn54OyCWm1WD/+frc/4MAcg6bSJKoylsLLtKnXWgZASGOu+ar9TKZjm7Ct ETnJRYnAXGXZEcyVU9ZKF6VuXnQrS1NzthE6dhq0ZdlYoGnNZgRJm1QkqhZbOZpT xsuzNxjBRJuOwyu+l90AdXTXy29YQgNd7i6k23AH+Y5ksTTyKdiQ4XzsMLJlAmVs PEQvktwHPrZJFQMLiQHMm3TZnmVdpSeaFqGbLxgg3Kdckd730g3Ysl6GryEwSkGc acdqbsRCtHJzQKuQjaxeHqUfP69WgUgPfBvUm1SevKDj5mn9qbzxQXa0MeviVy+T KaLAptwUxQW+wvXK2F9I+xFQcmWFbVl1jSWC8tK1LFMIlBye2PbJu7GouqUklHYS 9g247ra8FYU0AIPMB1vTu9gi0TjfKCbovap0PAQCJbSFg6/3d1BJcomvvfkGMIUr Rs+xkCApjysvUoGfKiZqvkGhGbeo2AHRWmplYcFf077e2VIuKS6Bw8X63nUrV/J4 6zZZOBMvpV1ShE9JXQlF =0z3+ -----END PGP SIGNATURE----- --5/uDoXvLw7AC5HRs--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |