Sender: vheyndri AT rug DOT ac DOT be Message-Id: <347016BA.6B47@rug.ac.be> Date: Mon, 17 Nov 1997 11:04:42 +0100 From: Vik Heyndrickx Mime-Version: 1.0 To: sandmann AT clio DOT rice DOT edu Cc: djgpp-workers AT delorie DOT com Subject: Re: DPMI selectors under Win95 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Charles, you wrote on Fri, 29 Nov 1996 > > After calling spawnXX (about 2000 times) I got this message and it > > crashed DOS box. > > Load error: no DPMI selectors > > I found the parent process lost 4 selectors each time it called spawnXX. > > (Under NT4.0 it lost more.) > > This is a bug in the DPMI provider. There is no workaround except to > exit the parent image before the children eat up all the selectors. 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? > > Under MS-DOS 6.2 + CWSDPMI it works fine. > > Yes, CWSDPMI cleans up after the children the selectors which cannot be > deallocated (since the CS/SS must be valid at exit). Does the DPMI host consider every spawned djgpp program as a single client or does it treat them all together as one client? -- \ Vik /-_-_-_-_-_-_/ \___/ Heyndrickx / \ /-_-_-_-_-_-_/