Objects question..._(re)

Fri, 5 Sep 1997 11:42:44 +0200 (MEST)


According to Frank Heckenbach:
>  
> I think he meant dynamically loading and freeing the code of the object's
> method, not it's data. AFAIK, one needs to use dynamic linking in order to
> achieve this, but I don't know much about it.

I didn't refer to data only:  Modern DPMI managers swap both code and
data to disk if there is not enough physical memory.  On such a platform
just forget about overlays and such:  You always have them automatically.
(This holds for Borland Pascal 7.0 in protected mode, too.)

> BTW: Do DJGPP and/or EMX do this, too?

Yes.  Under DOS, DJGPP and EMX swap memory to disk unless you disable it.
When EMX runs under OS/2, the OS does the swapping.

    Peter

 Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201]
 maintainer GNU Pascal [970714] - http://home.pages.de/~gnu-pascal/ [970125]



Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es