Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!reading!cf-cm!csisles!everson From: everson@CompSci.Bristol.AC.UK (Phill Everson ) Newsgroups: comp.unix.wizards Subject: Data Structures in Shared Memory Message-ID: <1322@csisles.Bristol.AC.UK> Date: 6 Feb 90 08:12:12 GMT Reply-To: everson@CompSci.Bristol.AC.UK () Organization: Dept of Computer Science, University of Bristol, UK. Lines: 18 Machine: SparcStation 1 OS: SunOS 4.03 I'm trying to use shared memory (shmctl(), shmat() etc etc) to store some data that will be accessed by a number of processes. It all works fine with the obvious restriction that the data structure so stored must be 'flat' ie no pointers, as these would then most likely point to an address in another process' address space. Has anyone done any work on getting non-'flat' data structures (ie with pointers to other areas of the same shared memory segment) to work? Any pointers, hints etc would be appreciated - if you email I will post a summary if worthwhile. Thanks for your time. Phillip G. Everson Senior Software Engineer Medical Imaging Philips Radiotherapy Systems Dept. Computer Science Horfield Road, Bristol, UK Bristol University, UK