Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: adp@ksg.cs.reading.ac.uk (Andrew Pollard) Newsgroups: comp.sys.sun Subject: Shared Memory... Keywords: No Digest Subjects in Unmoderated Mode Message-ID: <3390@brchh104.bnr.ca> Date: 4 Jun 91 18:40:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Psuedo-Unmoderated Lines: 15 Approved: sun-spots@rice.edu X-Original-Date: Mon, 20 May 91 14:16:50 BST Hello, I am trying to share a *large* array between processes (about 3-4 Meg), so consequently I have had to split it into a number of 1 Meg chunks. What I planned to do was to use the shmat call to map in each segment into memory so as it appeared as one large array... although I keep on getting illegal address errors. What I would like to know is, is there any way of asking SunOS for a range of addresses that shmat will accept? ie "Tell me where I can fit xxx bytes into memory". Thanks, Andrew PS. I don't know where this message will end up, so please reply via email.