[Top][All Lists]

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

Re: [aspell-devel] Multi-user aspell usage.

From: Kevin Atkinson
Subject: Re: [aspell-devel] Multi-user aspell usage.
Date: Tue, 1 Feb 2005 14:40:38 -0700 (MST)

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.

reply via email to

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