Mail Archives: djgpp-workers/2001/08/09/10:51:03
> It also assumes all the selectors in between belong to the child program,
> and thus are not used anymore. Isn't that a dangerous assumption?
I worried about it. Then I did lots of testing and each LDT appeared to
be independent, even on W95. So it would only be a problem if we
fragment the selectors ourselves.
> I'd say post the patch and lets ask people to patch their libraries,
> rebuild as many applications which spawn other programs, such as Make,
> GCC, Emacs, and Bash, and lets test how well does it work for some
> time.
Gotta go do real work now, but I'll try to post it before Andrew can
try it tomorrow. One enhancement I considered was to not do anything
unless the absolute selector number is above some threshold.
So, if the DPMI provder doesn't leak you don't take any risk.
> This seems to be unlike what happens on Windows 9X, where exiting the
> parent application back to COMMAND.COM frees all the selectors.
I think this is one reason why build problems are worse on W2K.
- Raw text -