Date: Mon, 13 Sep 1999 21:14:46 -0500 From: Gerd Knops <gerti@bitart.com> To: "Ronald F. Guilmette" <rfg@monkeys.com> Cc: questions@freebsd.org Subject: Re: Need persistant heap code. Message-ID: <19990914021446.985.qmail@camelot.bitart.com> In-Reply-To: <25848.937203835@monkeys.com> References: <25848.937203835@monkeys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990914021446.985.qmail>