From: cumani AT dns DOT ien DOT it Newsgroups: comp.os.msdos.djgpp Subject: Question: locking memory Date: Fri, 24 Oct 1997 10:38:31 +0200 Organization: Politecnico di Torino - Italia Lines: 15 Message-ID: <34505E87.1E5E@is.ien.it> NNTP-Posting-Host: vega.ien.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Here is my problem: I wish to allocate a buffer in my app and lock it into memory, since it has to be accessed by an int handler. I suppose that _go32_dpmi_lock_data should work for this. However, when processing is finished, i want to unlock and free the buffer, but in the library there is no complementary unlock_data routine (perhaps is the memory automatically unlocked when i call free()? ). Many thanks to anyone able to give me some advice. -- Ing. Aldo Cumani Istituto Elettrotecnico Nazionale Str. delle Cacce, 91 10135 Torino