delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/16/12:59:03

X-Spam-Check-By: sourceware.org
Date: Tue, 16 Jan 2007 12:58:38 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin Python/PIL TCL/TK fork rebase solution
Message-ID: <20070116175838.GB14405@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <87ejpvluvj DOT fsf AT superfluity DOT lefae DOT org> <3D1F5241A4BA56B7EBA1D30B AT qjunbur DOT quns DOT cam DOT ac DOT uk> <45ACC59F DOT 397A6589 AT dessent DOT net> <45ACCBEF DOT 49170261 AT dessent DOT net> <C997D9C1A0EA00B6C5A47F1F AT qjunbur DOT quns DOT cam DOT ac DOT uk>
Mime-Version: 1.0
In-Reply-To: <C997D9C1A0EA00B6C5A47F1F@qjunbur.quns.cam.ac.uk>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Tue, Jan 16, 2007 at 05:50:06PM +0000, Robin Walker wrote:
>For this to be the problem it appears to be, I'm guessing that there must 
>be some shortcoming in the Windows APIs in this area when compared with 
>facilities available within other Posix-compliant OSs.

It isn't a shortcoming at all.  Windows is perfectly within its rights
to put DLLs whereever it wants.  Windows doesn't implement fork() so it
doesn't have to worry about creating a new process whose addresss space
is a carbon copy of another process.

>How does Linux deal with the same issues of having libraries (or whatever 
>are logically equivalent to DLLs) potentially linked at different bases in 
>the two address spaces?

fork() is part of the OS in Linux and the fork() function is absolutely
intrinsic and necessary for anything on Linux or UNIX to work correctly.
It doesn't have to deal with anything like this since a fork is in the
low level of the OS, not in a library running in an application.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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