delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/28/09:35:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E5F7330.7010906@inf.ethz.ch>
Date: Fri, 28 Feb 2003 15:33:20 +0100
From: Fabrice Marchal <fmarchal AT inf DOT ethz DOT ch>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: lhall AT rfk DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: mem allocation / heap_chunk
References: <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030227083416 DOT 01dfb1e0 AT pop3 DOT cris DOT com> <3E5E415E DOT 1060607 AT inf DOT ethz DOT ch> <3E5EDDC4 DOT 8020808 AT rfk DOT com>

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?

Fabrice

-- 
========================================================================
Fabrice Marchal           http://www.inf.ethz.ch/~fmarchal 
fabrice DOT marchal AT ieee DOT org  fmarchal AT inf DOT ethz DOT ch        +41-(0)1-632-56-79
ETH Zurich, Computational Science and Engineering FAX:+41-(0)1-632-17-03
========================================================================




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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019