🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #8305

Shared Memory...

#8305
From: Andrew Pollard
Date: Tue, 04 Jun 1991 18:40
14 lines
1063 bytes
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.
Technical Details
Message-ID: <3390@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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