delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/07/10:36:37

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 7 Mar 2002 16:32:50 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Re^2: xdvi runtime error
Message-ID: <20020307163250.V13590@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F97GtLdLnEF9S9IewJi00017094 AT hotmail DOT com>
Mime-Version: 1.0
In-Reply-To: <F97GtLdLnEF9S9IewJi00017094@hotmail.com>
User-Agent: Mutt/1.3.22.1i

On Thu, Mar 07, 2002 at 10:15:06AM -0500, Nicolae Santean wrote:
> 1. Apparently, the heap_chunk_in_mb registry does not always tweak
> the memory default limit for cygwin. Many people report this issue
> and it actually happened to me as well. But, here's what I tried:
> increased the value to 512Mb (instead of 256Mb - what I wanted)
> and I finally got my 256Mb (sharp) increase. I guess I have to
> set it to double what I want in order to get it (?).

Ijust assume that your application needs other memory as well.

> 2. I have fixed one of my xdvi problems: the error "setsid: Not owner"
> is due to the fact that xdvi calls vfork(), if not instructed to do
> otherwise. Apparently vfork() is not supported and I fixed the problem
> by redefining vfork as fork.

vfork() is supported but it's not really forking.  Actually parent
and child are running in the same process context.  The Cygwin vfork()
implementation is only meant to allow a exec(2) call without having to
go through the fork() treadmill so this speeds up e.g. shells.

If your application assumes to be able to do really cool stuff under
vfork() conditions... don't use it in the Cygwin version.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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