Date: Wed, 15 Mar 2000 10:46:36 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Wojciech Galazka cc: djgpp AT delorie DOT com Subject: Re: loosing DOS memory by Windows NT In-Reply-To: <8alrke$r1r$1@sunsite.icm.edu.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 14 Mar 2000, Wojciech Galazka wrote: > Perhaps it is possible to force to free selectors that were used by > a a DPMI program and that program have just finished executing. If > this were possible would it help? This issue has come up before, you should be able to find it by browsing the archives of djgpp and djgpp-workers. In a nutshell, the problem is with the CS, PSP and a couple of other special selectors which cannot be freed by the program itself, since its code uses them up until the last moment. This must be done by the DPMI host when the client exits. > I assume it is not possible to allocate more selectors as this is a limited > resource DJGPP programs don't allocate selectors, they are allocated by the DPMI host, from its limited pool (the spec says it must be at least 4K selectors, I think).