From: Prashant TR
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14548.14098.838513.567058@envy.midpec.com>
Date: Sun, 19 Mar 2000 07:10:26 +0500 (MVT)
To: djgpp AT delorie DOT com
Subject: Re: What are the algorithms for locking pages in main memory?
Newsgroups: comp.os.msdos.djgpp
In-Reply-To:
References:
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 18 March 2000, dc77chen wrote:
> Does anyone know any algoritms for page lock in memory?
If you need to lock pages, use _go32_dpmi_lock_code or _go32_dpmi_lock_data.
But if you're talking of how this is implemented at the DPMI level, a look
at the CWSDPMI sources should tell you.
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2misc/csdpmi4s.zip