www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/24/12:16:32

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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 <cumani AT is DOT ien DOT it>
Istituto Elettrotecnico Nazionale
Str. delle Cacce, 91
10135 Torino

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019