delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/15/19:56:54

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: Shared libraries
To: dliu AT faraday-gw DOT njit DOT edu (Dong Liu)
Date: Tue, 15 Nov 1994 11:31:47 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, UCKO AT VAX1 DOT ROCKHURST DOT EDU

> PIC code, it is much easier. Is it possible for two tasks sharing pages
> in DJGPP 2.0? If it is, the dynamic loader and shared libraries can be
> loaded in to memory by the first go32 program, the spwaned task doesn't
> need to read them from disk again. That mus save a lot of
> memory and time.(especially programs use libg++).

Shared pages work with DPMI 0.9, but don't work with DPMI 1.0 without extra
calls.  Supporting both environments would be a mess, and you still haven't
solved the "far" issue.  The overhead for a simple program would also 
be way too much, so you would have to support static linking too.  I
personally don't think it's worth the effort under DOS.

- Raw text -


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