Dropping TDB

Stefan Bellon sbellon at sbellon.de
Tue Oct 26 05:38:49 CEST 2004


Matthias Andree wrote:
> Stefan Bellon <sbellon at sbellon.de> writes:

> > The problem is that for RISC OS there is no BerkeleyDB available.

> What exactly prevents some RISC OS guy to contribute separate patches
> to port it? Threads? Mutexes? Other kind of serial access to critical
> ressources?

The problem is it's size. When Bogofilter only used BerkeleyDB and
there was no TDB (which I took to start QDBM) I indeed had a look at
BerkeleyDB in order to port it. It's size is tremendous. You may
remember, on RISC OS we don't have a shell like bash. So all the
autoconf/automake/configure stuff does not work but all files those
generate have to be written by hand. This is a huge task for a project
like BerkeleyDB. And then you have to implement functions that the RISC
OS POSIX layer doesn't already implement.

Concerning the keywords given by you, threads exist in the form of
pthreads (fork in the POSIX layer is not really useful on RISC OS yet),
mutexes can be implemented, serial access, well you'd have to write a
semaphore with a queue.

-- 
Stefan Bellon



More information about the Bogofilter mailing list