Re: Multi-user aspell usage.

Kevin Atkinson <[email protected]>
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
On Tue, 1 Feb 2005, Gary Setter wrote:

> > > configure didn't find mmap or iconv
> > > I'm guessing if I don't have mmap support I can't avoid the problem below.
> > > If this is true, I'd be willing to rough in some mmap support for win32
> >
> > MMAP might work with Cygwin.  However if you are using Aspell 0.60 than
> > you don't need to worry about it as much as Aspell 0.60 will cache
> > instances of the dictionary class and reuse them.  Thus multiple copies
> > will not be used.
> >
> Please forgive me if I misunderstand the topic, but I want make
> sure you understand that Windows program will not share memory
> unless a server, or service has been defined. I've only seen the
> aspell library defined as a dll, and a dll will create new
> objects for each instance of the application.

If you make multiple copies of the Speller class within the same
application than Aspell 0.60 will use the same dictionary classes for all
of them when the same dictionary is used.

On Unix (and possible on Windows with Cygwin) dictionaries are loaded from
the disk in such a way that different applications that use the same
physical file will use the same read only memory, is a very similar
fashion to how shared libraries are loaded into memory.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.