Can bogofilter run by multiprocess at the same time
relson at osagesoftware.com
Thu Oct 14 07:36:00 EDT 2004
On Thu, 14 Oct 2004 13:27:27 +0200
Matthias Andree wrote:
> On Thu, 14 Oct 2004, David Relson wrote:
> > At present function main(), in addition to calling bogofilter() to
> > do the classification, also does setup and tear down. We could
> > rename it to bogomain(), a callable function which does all the
> > work, and change main() to a wrapper for bogomain(). The result
> > would look like:
> We'll need to do much more to offer it as a library, for instance,
> nuking all global variables and make the code re-entrant.
> Once upon a time I would say this needs to be done before 1.0 but I'd
> consider this as a 1.2 feature now.
I'm thinking of libbogofilter.a that can be statically linked into a
program (which is all that was requested). I'm not planning on a shared
library -- maybe later.
More information about the Bogofilter-dev