From owner-freebsd-questions Mon Sep 13 19:14:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from camelot.bitart.com (camelot.BITart.com [206.103.221.33]) by hub.freebsd.org (Postfix) with SMTP id 260BB14A15 for ; Mon, 13 Sep 1999 19:14:41 -0700 (PDT) (envelope-from gerti@bitart.com) Received: (qmail 986 invoked by uid 101); 14 Sep 1999 02:14:46 -0000 Message-ID: <19990914021446.985.qmail@camelot.bitart.com> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 4.2mach v148) In-Reply-To: <25848.937203835@monkeys.com> X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.2p1) Received: by NeXT.Mailer (1.148) From: Gerd Knops Date: Mon, 13 Sep 1999 21:14:46 -0500 To: "Ronald F. Guilmette" Subject: Re: Need persistant heap code. Cc: questions@freebsd.org Reply-To: gerti@BITart.com References: <25848.937203835@monkeys.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ronald F. Guilmette wrote: > I need to find (or, if necessary, build) some package that will provide > essentially the same functionality as malloc and free, except for the > fact that data placed into the allocated regions should be persistant, > i.e. stored in a disk file, even after the program using these primitives > terminates. > > Ideally, the code should do allocation very efficiently as, for example, > the GNU malloc package does. > > It is also essential that the code be able to expand the disk file, as > necessary, to accomodate new allocation requests. But the total amount > of space that will be allocated in this persistant heap at any given time > will never exceed 2GB. > > And of course, I'd like this as C source code and I need it to run on > FreeBSD. > > Anybody ever heard of such a thing? If so, where might I be able to > get a copy? > > Please understand, I don't need any extraordinarily fancy persistance > package... just persistant versions of malloc and free, with maybe > calloc thrown in, just for good measure. > > Any help would be appreciated. > I think man mmap would be a good start. Gerd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message