🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #327

Re: Sharing Memory Between Processes

#327
From: aab
Date: Wed, 21 Nov 1990 00:06
20 lines
1062 bytes
In article <2251@megadon.UUCP> you write:
>I want to modify a LISP interpreter so that the garbage collector
>runs in parallel with the mutator process, rather than have the mutator 
>stop and wait while the GC is running.  To do this I want to share 
>relatively large amounts of data between the two processes.
...

If mmap is available (try man mmap) you might want to check it out.
I maintain a LISP system on Suns et al and use mmap (not for
multiprocessing) and it gives you fast startup (no malloc then read
from heap file, just mmap) and automatuc state saving (no explicit
writing the heap to disk).  Good luck
Andy


-- 
Andy Burgess
Independent Consultant
aab@cichlid.com
uunet!silma!cichlid!aab
Technical Details
Message-ID: <2275@megadon.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!olivea!apple!altos!megadon!clp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!olivea!apple!altos!megadon!clp
From: aab@cichlid.com
Newsgroups: comp.unix
Subject: Re: Sharing Memory Between Processes
Message-ID: <2275@megadon.UUCP>
Date: 21 Nov 90 00:06:36 GMT
Organization: Independent Software Contractor
Lines: 20
Approved: clp@megadon.UUCP
In-Reply-To: <2251@megadon.UUCP>