TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Arjen Lentz
from: Vitus Jensen
date: 1994-08-01 21:32:16
subject: OS/2 EXEs with shared code?

Arjen Lentz wrote in a message to All:

 AL> Hi All,
Hi Arjen!

 AL> A DLL used by multiple OS/2 processes, will only be loaded
 AL> once. Right? 

Mhmm, CODE or DATA? 

 AL> An EXE running in multiple OS/2 processes, like
 AL> a mailer/BBS in a multi-line situation, will be loaded again
 AL> for each process. Right?

CODE or DATA?

 AL> If the above two observations are correct, it'd be rather
 AL> unfortunate, wouldn't you agree? 
 AL> For instance UNIX only

[...]

I analyzed a few DLLs and EXEs with EXEHDR:

DLL

DATA: SHARED or NONSHARED
CODE: never declared SHARED!

EXE

DATA: NONSHARED
CODE: NONSHARED


Personally I think, all CODE segments are shared by definition (CODE is not
writable and may be shared therefore).

Remember Wind*ws? This system was swapping code segments out of the exe
files! Surely OS/2 1.x used the same scheme and why shouldn't it share
them?

Too bad, EXEHDR is not telling "EXECUTABLE, ..., SHARED".

Somebody owning a REDBOOK?


Tschuesz,
           Vitus

--- timEd/2 1.00


* Origin: Seems to be a Point of BetaBox Walheim (2:2474/100.20)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 2474/100 0 2476/2 2480/76 24/24 396/1 3615/50 229/2
@PATH: 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.