Mail Archives: djgpp-workers/1997/11/17/05:07:44
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 /
\ /-_-_-_-_-_-_/
- Raw text -