[Info-vax] What is a section file? How is it helpful? Is a TPU$SECTION file a section file?

Hein RMS van den Heuvel heinvandenheuvel at gmail.com
Fri Sep 2 10:32:07 EDT 2022


On Thursday, September 1, 2022 at 8:37:00 PM UTC-4, Arne Vajhøj wrote:
> On 9/1/2022 12:53 PM, Stephen Hoffman wrote: 

> > It's a section of virtual memory with backing (and sharable) storage, 
> > with the salient difference being whether it uses static 
> > mapping—Fortran, BASIC, C, etc., common storage involving the linker—or 
> > use dynamic mapping—run-time calls to $crmpsc, etc.
> ???? 
> 
> A Fortran common block does not share data between processes 
> and does not map data to disk. 

Arne, please read more carefully (and more manuals)

Stephen wrote "involving the linker".
Once you use the linker to make a Psect common, shared it IS shared between processes (using the same linker instructions) and it _does_ map data back to the disk.
I suppose you could say the linker allows one to link  processes, not just bake images.

https://www.digiater.nl/openvms/doc/alpha-v8.3/83final/4548/4548pro_006.html#itn_image_ch
https://www.digiater.nl/openvms/doc/alpha-v8.3/83final/4548/4548pro_003.html#itn_common_model_sec

Hein





More information about the Info-vax mailing list