Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!rutgers!labrea!decwrl!pyramid!voder!blia!ted From: ted@blia.BLI.COM (Ted Marshall) Newsgroups: comp.os.vms Subject: Re: Shareable Images Message-ID: <3229@blia.BLI.COM> Date: Tue, 8-Sep-87 11:46:43 EDT Article-I.D.: blia.3229 Posted: Tue Sep 8 11:46:43 1987 Date-Received: Thu, 10-Sep-87 01:15:48 EDT References: <1812@munnari.oz> Organization: Britton Lee, Los Gatos, CA Lines: 18 Summary: NOSHR In article <1812@munnari.oz>, taso@munnari.oz (Taso Hatzi) writes: > I want to combine a set of routines into a shareable image... > ... I want each program which calls > routines in the shareable image to get its own copy of the variables... > What attributes must I give to the psect's containing the variables > in order to achieve this. Also, how should I install the shareable > image?... I believe that all you have to do is give the psects the NOSHR attribute, along with WRT and whatever else you would use for writable data. This instructs that the psect, although part of the shareable image, are private to each process. You then can install the image as any other (i.e. /SHARE /OPEN). Because the writable psects are private, you don't need /WRITEABLE. -- Ted Marshall ...!ucbvax!mtxinu!blia!ted mtxinu!blia!ted@Berkeley.EDU Britton Lee, Inc., 14600 Winchester Blvd, Los Gatos, Ca 95030 (408)378-7000 The opinions expressed above are those of the poster and not his employer.