From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,9e63f1dd7ceb269d,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,9e63f1dd7ceb269d,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1989-11-07 18:09:12 PST Path: gmdzi!unido!mcsun!ukc!tcdcs!csvax1.cs.tcd.ie!swift.cs.tcd.ie!vax1.tcd.ie!mbrennan From: mbrennan@vax1.tcd.ie Newsgroups: comp.sys.dec,comp.os.vms Subject: Map Process address space - help! Message-ID: <3334@vax1.tcd.ie> Date: 6 Nov 89 11:10:25 GMT Organization: Computer Laboratory, Trinity College Dublin Xref: gmdzi comp.sys.dec:1549 comp.os.vms:17858 Posted: Mon Nov 6 12:10:25 1989 I am implementing a garbage collector in C on a VAX 6230, and need a little help. The garbage collection process is running in parallel with the user process. The algorithm requires that the collector process be able to access(read) the data segment(s) of the running user process. The reason for this is that the collector needs to examine the current value of variables in the user process each time it 'sweeps'. A parent/child relationship exists between the collector process, and user process. ONE: Any ideas on how I can share(map/access) the relevant pages of the user process, with the garbage collector? TWO: I have tried using SYS$CRMPSC (create and map section) to do this but without success. However if you have used this call before then perhaps you can help. Thanking you in advance Micheal Brennan Department Computer Science Trinity College Dublin 2 Ireland Voice : +353-1-772941 x1797 Fax: +353-1-772204 EMail: mbrennan@cs.tcd.ie