aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to Share Read only Data between processes.


From: Kevin Atkinson
Subject: Re: Best way to Share Read only Data between processes.
Date: Mon, 17 Jan 2000 09:56:07 -0500

"Martin Norbäck" wrote:
> 
> Mon Jan 17 2000, Kevin Atkinson ->
> > Could some of the unix programers on the list give me some hints as the
> > best way to share readonly memory between processes.  Specially I would
> > like for multiple aspell processes to be able to share the main word
> > list.  Is formatting the data file so that it can be directly read into
> > memory without any processing and using mmap the best bet?  Or is there
> > a better way?
> 
> Formatting the data file so that it can be mmap:ed directly is the only
> way I can think of. 

OK, thanks.  Mmaping the date file directly in will also allow for
faster loading and possibly less memory usage so I think that is what I
am going to do.
-- 
Kevin Atkinson
address@hidden
http://metalab.unc.edu/kevina/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]