Shared Memory

zben at umd5.UUCP zben at umd5.UUCP
Wed Dec 25 09:19:22 AEST 1985


In article <1188 at princeton.UUCP> lrr at princeton.UUCP (Larry Rogers) writes:

>As I read your note, I pondered the problem of sharing linked lists between
>processes as the addresses stored in the data structures comprising the
>list items cannot have process-specific addresses unless the shared
>memory is placed at the same virtual location in each process.  ...

This may seem too obvious to mention, but if one keeps pointers RELATIVE to
some known location (like the beginning of the data structure in question)
then multiple processes can interpret the data structure regardless of its
position in the address space...
-- 
"We're taught to cherish what we have   |          Ben Cranston
 by what we have no longer..."          |          zben at umd2.umd.edu
                          ...{seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben  



More information about the Comp.unix.wizards mailing list