*BSD News Article 29528


Return to BSD News archive

Xref: sserve comp.unix.bsd:13737 comp.sys.sun.apps:6847 comp.unix.programmer:16388 comp.unix.misc:11971 comp.unix.questions:48267
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!solaris.cc.vt.edu!server.cs.vt.edu!csgrad.cs.vt.edu!vasant
From: rk@nms.hls.com (S Ramakrishnan)
Newsgroups: comp.unix.bsd,comp.sys.sun.apps,comp.unix.programmer,comp.unix.misc,comp.unix.questions
Subject: Using malloc routines with shared memory block
Date: 12 Apr 1994 16:56:51 GMT
Organization: Hughes LAN Systems Inc., Mountain View, Ca.
Lines: 21
Message-ID: <SilukkuRasigan.rk@nms.hls.com>
Reply-To: rk@nms.hls.com
NNTP-Posting-Host: csgrad.cs.vt.edu
News-Master: netman@nms (Mr News)
Originator: vasant@csgrad.cs.vt.edu



       arch/mach        :       sun4/sparc
       OS               :       4.1.3

We have an application (loader) that loads configuration data that 
will be shared by other applications. The "loader" is hence
being designed to load the information in data structures creatd in 
a read-only shared memory.

     * Is there a way to use malloc library class on an allocated
       block of shared memory ?

     * If not, are there any public domain memory managers 
       that work with an assigned block of memory ?

I'd greatly appreciate any responses. Further, I would also like to
get in touch with people who have faced this problem before.

---
S Ramakrishnan, Hughes LAN Systems Inc., Mountain View, Ca.