Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <011101c2df37$008d22c0$78d96f83@pomello>
From: "Max Bowsher" <maxb@ukf.net>
To: "Fabrice Marchal" <fmarchal@inf.ethz.ch>
Cc: <cygwin@cygwin.com>
References: <5.2.0.9.2.20030227083416.01dfb1e0@pop3.cris.com> <3E5E415E.1060607@inf.ethz.ch> <3E5EDDC4.8020808@rfk.com> <3E5F7330.7010906@inf.ethz.ch>
Subject: Re: mem allocation / heap_chunk
Date: Fri, 28 Feb 2003 14:38:04 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Fabrice Marchal wrote:
> Larry Hall (RFK Partners, Inc.) wrote:
> 
>> Fabrice Marchal wrote:
>> 
>>> Randall R Schulz wrote:
>>> 
>>>> Fabrice,
>>>> 
>>>> It would seem that the answer is right there on the page you
>>>> referenced. You can script a change to that registry entry via the
>>>> Cygwin regtool script. You can do this in an install or
>>>> post-install script or upon each invocation of your application,
>>>> providing it's invoked via a script.
>>> 
>>> 
>>> 
>>> I can write a script, but then it would require to install cygwin
>>> and bash (and maybe other things) for the
>>> end-user, while at the moment I just provide the cygwin.dll. I was
>>> looking for something that uses the
>>> cygwin_XXX API.
>> 
>> 
>> 
>> There is no Cygwin API.  You might be able to do something with
>> /proc/registry eventually.  Of course, you can always use Win32 APIs.
> 
> If I try to change the /proc/registry/.. ../Cygwin/heap_chunk_in_mb
> file, it is an Administrator owned file and cannot be overwritten by
> a user. Is the /proc/registry directory created each time a cygwin
> program starts? 

No. It's a virtual directory. It's also read only. Use regtool.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

