diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-25 10:44:19 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-25 10:44:19 +0000 |
commit | 7136fd9bb6f589ae873057aa9731c45f17a7b339 (patch) | |
tree | 11ca03b864576e1c1ba37d51ea8ca65e8dd73d6c /apps | |
parent | 4e6c79b42ee4e299f13d63552aa4145a0abf41fb (diff) |
Nice diagram explaining better tagcache internals.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10316 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tagcache.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 280f45d695..f903de5190 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -17,6 +17,42 @@ * ****************************************************************************/ +/* + * TagCache API + * + * ----------x---------x------------------x----- + * | | | External + * +---------------x-------+ | TagCache | Libraries + * | Modification routines | | Core | + * +-x---------x-----------+ | | + * | (R/W) | | | | + * | +------x-------------x-+ +-------------x-----+ | + * | | x==x Filters & clauses | | + * | | Search routines | +-------------------+ | + * | | x============================x DirCache + * | +-x--------------------+ | (optional) + * | | (R) | + * | | +-------------------------------+ +---------+ | + * | | | DB Commit (sort,unique,index) | | | | + * | | +-x--------------------------x--+ | Control | | + * | | | (R/W) | (R) | Thread | | + * | | | +----------------------+ | | | | + * | | | | TagCache DB Builder | | +---------+ | + * | | | +-x-------------x------+ | | + * | | | | (R) | (W) | | + * | | | | +--x--------x---------+ | + * | | | | | Temporary Commit DB | | + * | | | | +---------------------+ | + * +-x----x---x---x--+ | + * | TagCache RAM DB x==\(W) +-----------------+ | + * +-x----x---x---x--+ \===x | | + * | | | | (R) | Ram DB Loader x============x DirCache + * +-x----x---x---x---+ /==x | | (optional) + * | Tagcache Disk DB x==/ +-----------------+ | + * +------------------+ | + * + */ + #include <stdio.h> #include "thread.h" #include "kernel.h" |