delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/11/17/10:09:50

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9711171455.AA01725@clio.rice.edu>
Subject: Re: DPMI selectors under Win95
To: Vik DOT Heyndrickx AT rug DOT ac DOT be (Vik Heyndrickx)
Date: Mon, 17 Nov 1997 08:55:04 -0600 (CST)
Cc: djgpp-workers AT delorie DOT com
In-Reply-To: <347016BA.6B47@rug.ac.be> from "Vik Heyndrickx" at Nov 17, 97 11:04:42 am

> This problem is the cause that a one-pass build of the library sources
> and also that a build of the GNU C compiler almost always fail.
> 
> Isn't it possible to free all those selectors by hand, or at least most
> of them?

We do!  The problem is a child cannot free the CS, SS, PSP and ENV selectors
it is using.  It's just a pure and simple MS bug with no effective workaround.
Don't do big builds under broken environments.  Even better yet, write MS
a letter, I'm sure they'll fix it in Win 98.

> Does the DPMI host consider every spawned djgpp program as a single
> client or does it treat them all together as one client?

They are nested clients - but each is separate.  In a DPMI 1.0 world each
would have it's own IDT/LDT/pagetables.  Under DPMI 0.9 they share these
resources.

- Raw text -


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